Unverified Commit a46c43d2 authored by Roman Reiss's avatar Roman Reiss
Browse files

util: add %i and %f formatting specifiers

This change brings formatting specifiers available in `util.format` and
consequently, `console.*` closer to what is supported in all major
browsers.

- `%i` is introduced to format integer values.
- `%f` is introduced to format floating point values.

Fixes: https://github.com/nodejs/node/issues/10292
PR-URL: https://github.com/nodejs/node/pull/10308


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 1fde98bb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment