1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 13:50:05 +01:00
dotSCAD/docs/lib3x-parse_number.md
2022-06-06 13:11:46 +08:00

280 B

parse_number

Parses the string argument as an number.

Parameters

  • t : A string containing the number representation to be parsed.

Examples

use <util/parse_number.scad>

assert((parse_number("10") + 1) == 11);
assert((parse_number("-1.1") + 1) == -0.1);