Sha256: 7ece33a4edc4084d6882904c5fc634ccf796bb6e0ad042982c797419480c2645

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

# Zero becomes empty string (#4)

Example of the issue:

    0.b(10).to_s  #=> ""

I would expect "0" as a result.

    0.b(10).to_s  #=> "0"

Okay, lets make sure this works for Floats.

    0.0.b(10).to_s  #=> "0.0"

And Rationals too.

    [0,1].br(10).to_s  #=> "0/1"

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
radix-2.2.1 demo/issues/004_zero_empty_string.md
radix-firstbanco-2.2.0 demo/issues/004_zero_empty_string.md
radix-2.2.0 demo/issues/004_zero_empty_string.md