Price rounding: Delete after coma
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
Re: Price rounding: Delete after coma
ähm no. My Question: Any Ideas how to round the datas in my Array?
Re: Price rounding: Delete after coma
That's what I meant! Ever heard of REPEAT loops?
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"]
...
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm