Gang Of Coders
Home
About Us
Contact Us
All Rounding Solutions on Gang of Coders
Total of 114 Rounding Solutions
How to round to at most 2 decimal places, if necessary
Javascript
Rounding
Decimal Point
Limiting floats to two decimal points
Python
Floating Point
Rounding
Precision
How to round a number to n decimal places in Java
Java
Decimal
Rounding
Digits
Show a number to two decimal places
Php
Formatting
Numbers
Rounding
Number Formatting
How do you round UP a number?
Python
Floating Point
Integer
Rounding
Formatting a number with exactly two decimals in JavaScript
Javascript
Rounding
Decimal Point
Why does Math.round(0.49999999999999994) return 1?
Java
Floating Point
Double
Rounding
Round a double to 2 decimal places
Java
Double
Rounding
How do you round to 1 decimal place in Javascript?
Javascript
Rounding
How to round to 2 decimals with Python?
Python
Rounding
Why does Math.Round(2.5) return 2 instead of 3?
.Net
Rounding
How do you round a number to two decimal places in C#?
C#
Decimal
Rounding
Bankers Rounding
How to round float numbers in javascript?
Javascript
Rounding
Formatting Decimal places in R
R
Formatting
Rounding
R Faq
Get decimal portion of a number with JavaScript
Javascript
Floating Point
Numbers
Decimal
Rounding
Round double in two decimal places in C#?
C#
Double
Rounding
Why does .NET use banker's rounding as default?
.Net
Rounding
Rounding off to two decimal places in SQL
Sql
Rounding
How can I round down a number in Javascript?
Javascript
Math
Rounding
round() for float in C++
C++
Floating Point
Rounding
Rounding BigDecimal to *always* have two decimal places
Java
Math
Bigdecimal
Rounding
How to make rounded percentages add up to 100%
Algorithm
Math
Rounding
Percentage
How can I round a number in JavaScript? .toFixed() returns a string?
Javascript
Types
Rounding
How to get a float result by dividing two integer values using T-SQL?
Sql Server
Sql Server-2008
Division
Rounding
Round to 5 (or other number) in Python
Python
Rounding
Python 3.x rounding behavior
Python
Python 3.x
Rounding
Truncate (not round) decimal places in SQL Server
Sql
Sql Server
Tsql
Rounding
How to round a Double to the nearest Int in swift?
Swift
Int
Double
Rounding
Rounding up to the nearest multiple of a number
C++
Algorithm
Rounding
How can I round up the time to the nearest X minutes?
C#
Datetime
Rounding
How do you round a float to 2 decimal places in JRuby?
Ruby
Jruby
Rounding
How do you round a floating point number in Perl?
Perl
Floating Point
Rounding
How to round a number to significant figures in Python
Python
Math
Rounding
Significant Digits
How to round up a number in Javascript?
Javascript
Rounding
Android - Round to 2 decimal places
Android
Double
Decimal
Rounding
How might I convert a double to the nearest integer value?
C#
Rounding
Javascript: Round up to the next multiple of 5
Javascript
Math
Rounding
Java Round up Any Number
Java
Math
Int
Rounding
Why does the floating-point value of 4*0.1 look nice in Python 3 but 3*0.1 doesn't?
Python
Floating Point
Rounding
Floating Accuracy
Ieee 754
Ruby: Rounding float in Ruby
Ruby on-Rails
Ruby
Rounding
Difference between toFixed() and toPrecision()?
Javascript
Rounding
Precision
Round Specific Corners SwiftUI
User Interface
Rounding
Swiftui
Cornerradius
Round a floating-point number down to the nearest integer?
Python
Floating Point
Integer
Rounding
C++: How to round a double to an int?
C++
Floating Point
Rounding
round() doesn't seem to be rounding properly
Python
Floating Point
Rounding
Getting only 1 decimal place
Python
Rounding
Converting double to integer in Java
Java
Casting
Double
Rounding
Scala Doubles, and Precision
Scala
Double
Truncate
Rounding
Truncate Two decimal places without rounding
C#
Math
Rounding
Rounding a double to turn it into an int (java)
Java
Double
Int
Rounding
Check if the number is integer
R
Integer
Rounding
Javascript: formatting a rounded number to N decimals
Javascript
Math
Rounding
Decimal Point
How to round the minute of a datetime object
Python
Datetime
Rounding
How to round up to the nearest 10 (or 100 or X)?
R
Rounding
How to pad a string with leading zeros in Python 3
Python
Python 3.x
Math
Rounding
How to round up a number to nearest 10?
Php
Rounding
How to Round to the nearest whole number in C#
C#
Rounding
Rounding numbers to 2 digits after comma
Javascript
Math
Rounding
How to properly round-up half float numbers?
Python
Python 3.x
Floating Point
Rounding
Precision
Java BigDecimal: Round to the nearest whole value
Java
Rounding
Bigdecimal
How can I round to whole numbers in JavaScript?
Javascript
Operators
Rounding
JavaScript: Round to a number of decimal places, but strip extra zeros
Javascript
Math
Floating Point
Rounding
0.1 float is greater than 0.1 double. I expected it to be false
C++
C
Floating Point
Double
Rounding
Python round up integer to next hundred
Python
Math
Rounding
How to round down to nearest integer in MySQL?
Mysql
Sql
Rounding
Round float to x decimals?
Python
Math
Rounding
Rounding integer division (instead of truncating)
C
Math
Int
Rounding
Integer Division
How to round up value C# to the nearest integer?
C#
Math
Rounding
Round up a CGFloat in Swift
Swift
Rounding
Cgfloat
Ceil
how to always round up to the next integer
C#
Language Agnostic
Rounding
Converting a float to a string without rounding it
Python
String
Floating Point
Rounding
How to round up in c#
C#
Rounding
How to resolve a Java Rounding Double issue
Java
Math
Rounding
Rounding to an arbitrary number of significant digits
Algorithm
Rounding
Significant Digits
Rounding to two decimal places in Python 2.7?
Python
Python 2.7
Rounding
What's the mathematical reason behind Python choosing to round integer division toward negative infinity?
Python
C++
Python 3.x
Rounding
Integer Division
Discard millisecond part from timestamp
Sql
Postgresql
Casting
Timestamp
Rounding
Why do lots of (old) programs use floor(0.5 + input) instead of round(input)?
C++
Rounding
Floor
Round Double to 1 decimal place kotlin: from 0.044999 to 0.1
Java
Android
Kotlin
Rounding
Round up from .5
R
Rounding
R Faq
Round a double to x significant figures
C#
Math
Rounding
Significant Digits
Round to nearest five
C#
Double
Rounding
Rounding numbers in Objective-C
Objective C
Cocoa
Macos
Formatting
Rounding
Gaussian/banker's rounding in JavaScript
Javascript
Rounding
Keeping trailing zeros
R
Math
Rounding
How to round a numpy array?
Python
Arrays
Numpy
Rounding
How do I round a float upwards to the nearest int in C#?
C#
.Net
Rounding
Round a float up to the next integer in javascript
Javascript
Floating Point
Rounding
Built in .Net algorithm to round value to the nearest 10 interval
C#
Math
Rounding
Round up to nearest multiple of five in PHP
Php
Function
Rounding
In jQuery, what's the best way of formatting a number to 2 decimal places?
Javascript
Jquery
Rounding
Decimal Point
Number Formatting
Truncate/round whole number in JavaScript?
Javascript
Decimal
Rounding
Round a divided number in Bash
Linux
Bash
Math
Shell
Rounding
SQL Server Group by Count of DateTime Per Hour?
Sql Server
Datetime
Rounding
Python - round up to the nearest ten
Python
Rounding
How do I round a number in JavaScript?
Javascript
Floating Point
Numbers
Rounding
Round up to Second Decimal Place in Python
Python
Rounding
How do I format a double to currency rounded to the nearest dollar?
C#
Formatting
Rounding
Currency
Rounding a number to the nearest 5 or 10 or X
Vba
Rounding
How to round floats to integers while preserving their sum?
Algorithm
Language Agnostic
Rounding
R round to nearest .5 or .1
R
Rounding
R Faq
Why do round() and ceil() not return an integer?
C++
C
Casting
Rounding
How to check whether input value is integer or float?
Java
Floating Point
Int
Rounding
Rounding up a number to nearest multiple of 5
Java
Rounding
Round *UP* to the nearest 100 in SQL Server
Sql Server
Math
Rounding
Java: round to nearest multiple of 5 (either up or down)
Java
Rounding
Should I use NSDecimalNumber to deal with money?
Cocoa
Cocoa Touch
Rounding
Currency
round a floating-point number to the next integer value in java
Java
Integer
Floating Point
Rounding
Rounding necessary with BigDecimal numbers
Java
Rounding
Bigdecimal
Convert double to Int, rounded down
Java
Type Conversion
Rounding
PHP How do I round down to two decimal places?
Php
Decimal
Rounding
Number Formatting
How to round 0.745 to 0.75 using BigDecimal.ROUND_HALF_UP?
Java
Bigdecimal
Rounding
Delete digits after two decimal points, without rounding the value
Php
Function
Rounding
Rounding in Swift with round()
Swift
Xcode6
Rounding