Skip to content

Tag Archives: Ruby BigDecimal-class

BigDecimal#eql?() : eql?() is a BigDecimal class method which checks whether the two BigDecimal value are equal. Syntax: BigDecimal.eql?() Parameter: BigDecimal values to compare Return:… Read More
BigDecimal#finite?() : finite?() is a BigDecimal class method which checks whether the BigDecimal value is finite. Syntax: BigDecimal.finite?() Parameter: BigDecimal values to check Return: true… Read More
BigDecimal#clone() : clone() is a BigDecimal class method which returns the clone value for the BigDecimal value. Syntax: BigDecimal.clone() Parameter: BigDecimal values to find the… Read More
BigDecimal#dup() : dup() is a BigDecimal class method which returns the duplicate value for the BigDecimal value. Syntax: BigDecimal.dup() Parameter: BigDecimal values to find the… Read More
BigDecimal#exponent() : exponent() is a BigDecimal class method which returns the exponent value for the BigDecimal value. Syntax: BigDecimal.exponent() Parameter: BigDecimal values to find the… Read More
BigDecimal#frac() : frac() is a BigDecimal class method which returns the fractional value for the BigDecimal value. Syntax: BigDecimal.frac() Parameter: BigDecimal values to find the… Read More
BigDecimal#floor() : floor() is a BigDecimal class method which return the floor value of the passed BigDecimal value. Syntax: BigDecimal.floor() Parameter: – BigDecimal value which… Read More
BigDecimal#fix() : fix() is a BigDecimal class method which returns the integer value for the BigDecimal value. Syntax: BigDecimal.fix() Parameter: BigDecimal values to find the… Read More
BigDecimal#hash() : hash() is a BigDecimal class method which returns the hash value for the BigDecimal value. Syntax: BigDecimal.hash() Parameter: BigDecimal values to find the… Read More
BigDecimal#inspect() : inspect() is a BigDecimal class method which returns debugging information about the value as a string of comma-separated values . Syntax: BigDecimal.inspect() Parameter:… Read More
BigDecimal#modulo() : modulo() is a BigDecimal class method which returns the modulus from dividing two BigDecimal values. Syntax: BigDecimal.modulo() Parameter: BigDecimal values to divide Return:… Read More
BigDecimal#nan?() : nan?() is a BigDecimal class method which checks whether the BigDecimal value is nan value. Syntax: BigDecimal.nan?() Parameter: BigDecimal values to check regarding… Read More
BigDecimal#nonzero?() : nonzero?() is a BigDecimal class method which checks whether the BigDecimal value is nonzero. Syntax: BigDecimal.nonzero?() Parameter: BigDecimal values to check Return: self… Read More
BigDecimal#power() : power() is a BigDecimal class method which returns the BigDecimal value raised to the power of n. Syntax: BigDecimal.power() Parameter: BigDecimal values to… Read More
BigDecimal#abs() : abs() is a BigDecimal class method which works on BigDecimal values and converts them to the absolute form. Syntax: BigDecimal.abs() Parameter: BigDecimal value… Read More

Start Your Coding Journey Now!