Number::precision

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.

1 Like

Thanks a lot, floor is the way to go.

1 Like

Also consider intval()