Hi,
I am having trouble figuring out how to do something like this:
For example, lets say the form value of a field was 3,638
Is there some PHP code that will round it to the nearest whole number which would be: 3,500
I guess it would be to the nearest hundred and nearest thousand. I want it to display it only in 500 increments like this:
500
1000
1500
2000
2500
3000
3500 and so on
It wouldn't be just for one, but for multiple random values on several fields. I hope all of this makes sense.
Any help is appreciated. Thanks!
Regards,
Sara