This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

n_significant_digits

        # BigDecimal.n_significant_digits

(from ruby core)
---
    n_significant_digits -> integer

---

Returns the number of decimal significant digits in `self`.

    BigDecimal("0").scale         # => 0
    BigDecimal("1").scale         # => 1
    BigDecimal("1.1").scale       # => 2
    BigDecimal("3.1415").scale    # => 5
    BigDecimal("-1e20").precision # => 1
    BigDecimal("1e-20").precision # => 1
    BigDecimal("Infinity").scale  # => 0
    BigDecimal("-Infinity").scale # => 0
    BigDecimal("NaN").scale       # => 0



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.