I have some problem regarding converting/truncating a number.
This is the condition:
x.35 where x is any decimal number. If the decimal number is less than or equal to 35 then convert the .35 into 99 and subtract the x value with 1.
Something like this:
45.35 will become 44.99
Any help will be much more appreciated!
There’s probably a faster way that doesn’t use the explode function and other unnecessary things, but here’s my rendition of it.