luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
176 stars 36 forks source link

Decimal Number returns as string in lua #206

Closed klavanya19 closed 6 months ago

klavanya19 commented 6 months ago

Hi,

I am using luarocks and fetching data from mysql. And have a column with data type as Decimal(12). When we connect to mySQL using luasql library (require "luasql.mysql"), the field type returns as "undefined" and the value fetches in string format "12.34"

P.S: Doesn't want to use typecasting. Anyother way other than converting the every row value to tonumber().

Any help here appreciated.

hishamhm commented 6 months ago

This repository is for issues with the luarocks.org website, not general Lua support. Please try the Lua mailing list!