Closed theoreaves closed 1 year ago
These days, I'd actually just use the number_format function.
Manny doesn't have this one, because it's pretty clean as a built in php function.
$value = 44.5667
number_format($value,2);
You know, I was way overthinking it. Thanks!
No worries, Happy to help!
I need to take whatever number is entered and convert it to a money value. So: 457 would be 457.00, and 43.9 would be 43.90 and 44.5667 would be 44.57
How would I go about that?
Thanks!