src/ChickenWire/I18n.php
public static function parseFloat($floatString){ 
		    $LocaleInfo = localeconv(); 
		    $floatString = str_replace($LocaleInfo["mon_thousands_sep"] , "", $floatString); 
		    $floatString = str_replace($LocaleInfo["mon_decimal_point"] , ".", $floatString); 
		    return floatval($floatString); 
		}
public static function parseFloat($floatString){ 
		    $LocaleInfo = localeconv(); 
		    $floatString = str_replace($LocaleInfo["mon_thousands_sep"] , "", $floatString); 
		    $floatString = str_replace($LocaleInfo["mon_decimal_point"] , ".", $floatString); 
		    return floatval($floatString); 
		}
public static function parseFloat ( $ floatString ) { $ LocaleInfo = localeconv ( ) ; $ floatString = str_replace ( $ LocaleInfo [ "mon_thousands_sep" ] , "" , $ floatString ) ; $ floatString = str_replace ( $ LocaleInfo [ "mon_decimal_point" ] , "." , $ floatString ) ; return floatval ( $ floatString ) ; }
Parse a float value with localization in mind
@param  string $floatString The string representation of a floating number
@return float              The float value
Parse a float value with localization in mind