first part of number()
This function returns the value before the decimal separator of a number a. If a is not a numerical value, the return value of the function is 0. See examples below.
Parameters
|
Parameter |
Description |
|
a |
Numerical value. |
Examples
|
Parameter a |
Result |
|
100.3 |
100 |
|
0.3 |
0 |
|
100 |
100 |
|
abc |
0 |