Number formatters

Hi, I kinda stumbled about this, bit is there any way to format numbers?

Like turning 5000 into 5,000 or 5.000 based on where the user is from?

Hi @nahuel.lugones,

Did you explore the Lua “string.format()” function? Here’s the API documentation on it, with a link to more resources on the topic:

http://docs.coronalabs.com/api/library/string/format.html

Best regards,

Brent

Hi @nahuel.lugones,

Did you explore the Lua “string.format()” function? Here’s the API documentation on it, with a link to more resources on the topic:

http://docs.coronalabs.com/api/library/string/format.html

Best regards,

Brent