"php string to float" Code Answer

$rootbeer = (float) $InvoicedUnits;

Should do it for you. Check out Type-Juggling. You should also read String conversion to Numbers.

By benoit.desjardins.ing-2a75654970f4 on August 22 2022

Answers related to “php string to float”

Only authorized users can answer the search term. Please sign in first, or register a free account.