It has been a while that i posted something but I am still working with LiveCode and still love it.
However I have the next small issue and cannot seem to solve it.
I have a number e.g. 668642 and I want to show in an Answer command with a thousands seperator like 0,668,642.
I used the following code without the success i hoped for

Code: Select all
on mouseUp pMouseButton
put "668642" into tNumber
set the numberFormat to "#,###,##0."
put (1 * tNumber) into tShowFormattedNumber // need to recalculate to effectuate set the numberFormat
Answer "The formatted number is: " & tShowFormattedNumber
end mouseUp
How can i do this?
Regards,
MrCoolLIon (Paul)