Doc
This commit is contained in:
parent
4f6c7f6168
commit
c4dc7b6fdb
1 changed files with 1 additions and 1 deletions
|
|
@ -1241,7 +1241,7 @@ function GETPOSTINT($paramname, $method = 0)
|
|||
*/
|
||||
function GETPOSTFLOAT($paramname, $rounding = '', $option = 2)
|
||||
{
|
||||
// price2num() is used to sanitize any valid user input (such as "1 234.5", "1 234,5", "1'234,5", "1·234,5", "1,234.5", etc.)
|
||||
// price2num() can be used to round to an expected accuracy and/or to sanitize any valid user input (such as "1 234.5", "1 234,5", "1'234,5", "1·234,5", "1,234.5", etc.)
|
||||
return (float) price2num(GETPOST($paramname), $rounding, $option);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue