<?php $price = "$5.90";$priceN = floatval($price); echo "$price | $priceN";
Standard input is empty
$5.90 | 0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!