mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
330 B
17 lines
330 B
=proto
|
|
void duk_push_number(duk_context *ctx, duk_double_t val);
|
|
|
|
=stack
|
|
[ ... ] -> [ ... val! ]
|
|
|
|
=summary
|
|
<p>Push number (IEEE double) <code>val</code> to the stack.</p>
|
|
|
|
<p>If <code>val</code> is a <code>NaN</code> it may be normalized into another
|
|
<code>NaN</code> form.</p>
|
|
|
|
=example
|
|
duk_push_number(ctx, 123.0);
|
|
|
|
=tags
|
|
stack
|
|
|