Skip to content

[feature] lower-case option? #2

@dvdplm

Description

@dvdplm

It would be nice to have the option to use lower-case letters when converting to string. In my case I use this to generate string keys for redis values and my aim is to be compatible with a previous javascript codebase. In Javascript Number(123456789).toString(36) outputs 21i3v9 while Radix gives 21I3V9.

Thanks!

EDIT: fwiw, the BigNum crates to_str_radix(36) also uses lower-case.

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