Die Funktion MakeNumeric() nimmt einen Zahlwert mit nachgestelltem Minuszeichen entgegen und gibt diesen als negativen numerischen Wert zurück.
Siehe auch MakeNumericEx
MakeNumeric('Value')
MakeNumeric('Value', <Empty Value>)
| Code | Ergebnis |
|---|---|
MakeNumeric('')
| NULL |
MakeNumeric('', 0)
| 0 |
MakeNumeric(' ', 0)
| 0 |
MakeNumeric('aaa')
| NULL |
MakeNumeric('aaa', -1)
| NULL |
MakeNumeric(<Empty x-path result>) | NULL |
MakeNumeric(<Empty x-path result>, 0) | 0 |
MakeNumeric('6.25-' )
| -6.25 |
MakeNumeric('6,763.5')
| 6763.5 |
MakeNumeric('6.971,12')
| 6971.12 |