Re: Price rounding: Delete after coma
Posted: Fri Jun 08, 2018 6:44 pm
ähm no. My Question: Any Ideas how to round the datas in my Array?
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Code: Select all
...
put t_array["vkpreise"] into ttt
## This is a typical example of the above mentioned REPEAT loop! :-D
repeat for each line tLine in ttt
put format("%1.2f",tLine) & CR after ttt2
end repeat
## Delete last CR
delete char -1 of ttt2
put ttt2 into t_array["vkpreise"]
...