last part of number()
This function returns the part of a number a that is following the decimal separator. Leading zeros are lost. If a is a non-numeric value, the return value of the function is 0. See examples below.
Parameters
|
Parameter |
Description |
|
a |
Value. |
Examples
|
Parameter a |
Result |
|
100.3 |
3 |
|
0.3 |
3 |
|
0.03 |
3 |
|
100 |
0 |
|
abc |
0 |