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.
13 lines
316 B
13 lines
316 B
=proto
|
|
double duk_get_number(duk_context *ctx, int index);
|
|
|
|
=stack
|
|
[ ... val! ... ]
|
|
|
|
=summary
|
|
<p>Get the number value at <tt>index</tt> without modifying or coercing
|
|
the value. Returns <tt>NaN</tt> if the value is not a number or the
|
|
index is invalid.</p>
|
|
|
|
=example
|
|
printf("value: %lf\n", duk_get_number(ctx, -3));
|
|
|