Skip to content
Courses
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
All Courses
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Loops and Control Flow
Python Conditional Statements
Python Loops
Python Functions
Python OOPS Concept
Python Data Structures
Python Exception Handling
Python File Handling
Python Exercises
Java
Learn Java Programming Language
Java Collections
Java 8 Tutorial
Java Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
JavaScript
C++
R Tutorial
SQL
PHP
C#
C
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permission Commands
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django
Django Tutorial
Django Projects
Django Interview Questions
Flask
Flask Tutorial
Flask Projects
Flask Interview Questions
Postman
Github
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
Learn Complete Web Development
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
Web Technologies
40.9k+ articles
DSA
22.3k+ articles
Python
20k+ articles
Experiences
17k+ articles
Interview Experiences
13.5k+ articles
School Learning
12.9k+ articles
JavaScript
11.8k+ articles
Ruby
1.1k+ articles
Ruby-Methods
910+ articles
Ruby Collections
130+ articles
Ruby Float-class
41 posts
Popular Articles
Recent Articles
Ruby | Float truncate function
Last Updated: 07 January 2020
Float#truncate() is a float class method which return a truncated value rounded to ndigits decimal digits precision. Syntax: float.truncate
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby | Float to_i() method
Last Updated: 07 January 2020
Float#to_i() is a float class method which return a Integer representation of the float value.Syntax: float.to_i()Parameter: float value as
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float round() method with example
Last Updated: 08 January 2020
round() is a float class method which return a float value rounded to the nearest value with n digits decimal digits precision. Syntax: flo
...read more
Ruby
Ruby-Methods
Ruby Float-class
Similar Topics
Web Technologies
40.9k+ articles
DSA
22.3k+ articles
Python
20k+ articles
Experiences
17k+ articles
Interview Experiences
13.5k+ articles
School Learning
12.9k+ articles
JavaScript
11.8k+ articles
Ruby
1.1k+ articles
Ruby-Methods
910+ articles
Ruby Collections
130+ articles
Ruby Float coerce() method with example
Last Updated: 08 January 2020
coerce() is a float class method which return the ceil value of the passed float value.Syntax: float.coerce()Parameter: numeric values (can
...read more
Ruby
Ruby-Methods
Ruby Float-class
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
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float floor() method with example
Last Updated: 08 January 2020
floor() is a float class method which return the floor value of the passed float value.Syntax: float.floor()Parameter: float value which is
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float to_d() - BigDecimal method with example
Last Updated: 14 April 2022
Float to_d() is a float class method which return a BigDecimal representation of the float valueSyntax: float.to_d()Parameter: float value a
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float absolute() method with example
Last Updated: 07 January 2020
Float abs() is a float class method which works on float values and converts them to the absolute form.Syntax: float.abs()Parameter: float v
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float to_r() method with example
Last Updated: 07 January 2020
Float to_r() is a float class method which return a rational form of the float value.Syntax: float.to_r()Parameter: float value as argument
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float divmod() method with example
Last Updated: 14 September 2021
Float divmod() is a float class method that returns an array having the quotient and remainder on dividing two numbers.Syntax: float.divmod(
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float negative() method with example
Last Updated: 07 January 2020
Float negative() is a float class method which checks whether the float value is negative. Syntax: float.negative()Parameter: float value wh
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float fdiv() method with example
Last Updated: 07 January 2020
Float fdiv() is a float class method which return a division value of the form p/q.Syntax: float.fdiv()Parameter: values to divide - p and q
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float modulo() method with example
Last Updated: 07 January 2020
Float modulo() is a float class method which return the remainder value on dividing two float values. Syntax: float.modulo()Parameter: remai
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float nan?() method with example
Last Updated: 13 January 2022
Float nan?() is a float class method that checks whether the value is 'not a number'. 'Not A Number' means an invalid IEEE floating-point nu
...read more
Ruby
Ruby-Methods
Ruby Float-class
Ruby Float zero?() method with example
Last Updated: 07 January 2020
Float#zero() : zero() is a float class method which checks whether the float value is zero. Syntax: float.zero()Parameter:float value which
...read more
Ruby
Ruby-Methods
Ruby Float-class
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
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 !