Zero disappears with round
Posted: Tue Jun 26, 2018 4:21 am
Hi,
I wonder if there is a way that I can get the zero to show upp when using @round with one decimal? To illustrate what I mean, this code will prompt up 2, but I would like 2.0.
!i = 2.04
!j = @round(!i, 1)
@uiprompt(@str(!j))
Best regards,
Pelle
I wonder if there is a way that I can get the zero to show upp when using @round with one decimal? To illustrate what I mean, this code will prompt up 2, but I would like 2.0.
!i = 2.04
!j = @round(!i, 1)
@uiprompt(@str(!j))
Best regards,
Pelle