Hi.
Please tell me what option to set to Number::precision to round always down.
Number::precision (float, presition, ??? )
Thanks.
Hi.
Please tell me what option to set to Number::precision to round always down.
Number::precision (float, presition, ??? )
Thanks.
AFAIK, “precision” doesn’t provide any way to control rounding. You’re looking for something like floor
instead of round
.
Thanks a lot, floor is the way to go.
Also consider intval()