Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Ruby
1.2K+ articles
Ruby-Methods
926+ articles
Ruby Collections
144+ articles
Ruby Float-class
41 posts
Recent Articles
Popular Articles
Ruby Float ceil() method with example
Last Updated: 08 January 2020
ceil() is a float class method which return the ceil value of the passed float value.Syntax: float.ceil()Parameter: float value which is to get its ceil valuedecimal digit...
read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby | Float class -@ value
Last Updated: 07 January 2020
Float#-@() : -@() is a Float class method in Ruby which return its own self value. It works as -@a = -(a)Syntax: Float.-@()Parameter: Float valueReturn: Negative SelfCo...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class - value
Last Updated: 08 January 2020
Float#-() : -() is a Float class method in Ruby which return difference of two Float numbers.Syntax: Float.-()Parameter: Float valuesReturn: Difference of the two Float...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class < value
Last Updated: 08 January 2020
Float#() : () is a Float class method in Ruby which compares two Float values. Syntax: Float.()Parameter: Float valuesReturn: true - if a b; otherwise falseCode #...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class / value
Last Updated: 08 January 2020
Float#/() : /() is a Float class method in Ruby which return the division quotient value of the two Float values. Syntax: Float./()Parameter: Float valuesReturn: Quotie...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class > value
Last Updated: 08 January 2020
Float#() : () is a Float class method in Ruby compares two Float values. Syntax: Float.()Parameter: Float valuesReturn: true - if a b; otherwise falseCode #1 : Ex...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class <= value
Last Updated: 08 January 2020
Float#=() : =() is a Float class method in Ruby which compares two Float values. Syntax: Float.=()Parameter: Float valuesReturn: true - if a = b; otherwise falseCo...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class >= value
Last Updated: 08 January 2020
Float#=() : =() is a Float class method in Ruby which compares two Float values. Syntax: Float.=()Parameter: Float valuesReturn: true - if a = b; otherwise falseC...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class value
Last Updated: 08 January 2020
Float#() : () is a Float class method in Ruby which compares two Float values. Syntax: Float.()Parameter: Float valuesReturn: 0 if a equals b, 1 if a b, -1 if a...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class == value
Last Updated: 08 January 2020
Float#==() : ==() is a Float class method in Ruby which checks the equality of two Float values. Syntax: Float.==()Parameter: Float valuesReturn: true - if a == b;...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class % value
Last Updated: 07 January 2020
Float#%() : %() is a Float class method in Ruby which return the modulo of two Float division.Syntax: Float.%()Parameter: Float values - dividend and divisorReturn: Mod...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class + value
Last Updated: 07 January 2020
Float#+() : +() is a Float class method in Ruby which return sum of two Float numbers.Syntax: Float.+()Parameter: Float valuesReturn: Sum of the two Float valuesCode #1...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class * value
Last Updated: 11 March 2022
Float#*() : *() is a Float class method in Ruby which return multiplicative value of two Float values. Syntax: Float.*()Parameter: Float values - two operandsReturn: Mu...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class ** value
Last Updated: 07 January 2020
Float#**() : **() is a Float class method in Ruby which return the value of power raised. Syntax: Float.a**n()Parameter: Float values - two operands a, nReturn: a t...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
Ruby | Float class +@ value
Last Updated: 07 January 2020
Float#+@() : +@() is a Float class method in Ruby which return its own self value. It works as +@a = +(a)Syntax: Float.+@()Parameter: Float valueReturn: SelfCode #1 : E...
read more
Ruby
Ruby-Methods
Ruby Collections
Ruby Float-class
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !