mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 14:01:22 +01:00
Doc
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user