Skip to content

spaceSeparated is not working - version 2.0.5 #411

Description

@RichColours

Same symptoms as on your main webpage:

https://numbrojs.com/format.html#bytes

the spaceSeparated is not doing anything.

image

In my particular issue:

const size = numbro(x.sizeBytes).format({
spaceSeparated: true,
output: "byte",
base: "decimal",
mantissa: 1
});

        return `<tr><td>${x.filename}</td><td>${x.dateModifiedHuman}</td><td>${size}</td><td>${x.md5sum}</td></tr>`;

(apologies, GitHub's 'code' delimiter is Javascript's third type of string literal with escaping operator.

My output string is:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions