mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-29 15:59:09 +02:00
17 lines
310 B
Markdown
17 lines
310 B
Markdown
# parse_number
|
|
|
|
The dir changed since 2.0.
|
|
|
|
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);
|