Skip to content

Commit 5d4b803

Browse files
committed
fix to-fixed example
1 parent 3bc3073 commit 5d4b803

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v0.3/handbook/libraries/stdlib.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ commit
423423
<tr>
424424
<td>
425425
<ul class="arglist">
426-
<li><strong>a</strong> - the number to be formatted</li>
427-
<li><strong>b</strong> - the number of decimal places to which `a` will be formatted</li>
426+
<li><strong>value</strong> - the number to be formatted</li>
427+
<li><strong>to</strong> - the number of decimal places to which `a` will be formatted</li>
428428
</ul>
429429
</td>
430430
<td>
@@ -434,7 +434,7 @@ pi represented as the string "3.14"
434434
search
435435
circumference = 6
436436
diameter = 1.910
437-
pi = math/to-fixed[a: (circumference / diameter), b: 2]
437+
pi = math/to-fixed[value: (circumference / diameter), to: 2]
438438
439439
bind
440440
[#ui/text text: pi]

0 commit comments

Comments
 (0)