Syntax
decimal('<value>')Examples
decimal('1.2345678912312131')1.2345678912312131
Maker notes
- Keeps more digits than float(). Useful for money and other exact values.
Converts a string to a high-precision decimal number.
decimal('<value>')decimal('1.2345678912312131')1.2345678912312131