Floats or Decimals

Here is an example of what a float or decimal will look like.

Float or Decimal

If a float variable was assigned, like so:

$floatvar = 456123.67892;

and you wanted to check $floatvar in your code with NewChk you would say:

new chk($floatvar);

The output in your browser window for that page is shown above. The output says the variables name is $floatvar. It is a float or decimal. Its value is 456123.67892. And “new chk($floatvar);” was called in the inventoryedit.php file on line 54.

Float numbers are not currently number_formatted. For example, the float number 1,456,789.12345 would be outputted as 1456789.12345.