I have integer 363 for example.
Any method to make it 360 or 365?
This is a hack, but it works:
var rounded = Math.Round(363 / 5f) * 5;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With