K
Kerri
Hi,
I take in a value like 17499.99 in my app.
I want to round this up to the nearest thousand
So above should be 18000. Even if I have a value like
17001 I want to round up to 18000.
Anyone know how I can do this? I have tried using the Math
class but it does not do this for me.
If i round 17499.99 using MAth.Round it gives mne 17500
buyt I want to get 18000.
Once it is anyway over 17000 I want to round it to 18000.
Thanks,
K.
I take in a value like 17499.99 in my app.
I want to round this up to the nearest thousand
So above should be 18000. Even if I have a value like
17001 I want to round up to 18000.
Anyone know how I can do this? I have tried using the Math
class but it does not do this for me.
If i round 17499.99 using MAth.Round it gives mne 17500
buyt I want to get 18000.
Once it is anyway over 17000 I want to round it to 18000.
Thanks,
K.