Top "Number-formatting" questions

Number formatting is the process of converting a numeric value into a string suitable for display.

How can I format a String number to have commas and round?

What is the best way to format the following number that is given to me as a String? String number = "1000500000.574" //…

java string numbers decimal number-formatting
Excel CSV - Number cell format

I produce a report as an CSV file. When I try to open the file in Excel, it makes an …

excel csv formatting number-formatting
How to format a number 0..9 to display with 2 digits (it's NOT a date)

I'd like to always show a number under 100 with 2 digits (example: 03, 05, 15...) How can I append the 0 without using a conditional …

java number-formatting
format a number with commas and decimals in C# (asp.net MVC3)

I Need to display a number with commas and decimal point. Eg: Case 1 : Decimal number is 432324 (This does not have …

c# asp.net-mvc-3 formatting number-formatting
How to print formatted BigDecimal values?

I have a BigDecimal field amount which represents money, and I need to print its value in the browser in …

java formatting bigdecimal number-formatting
What is the default Precision and Scale for a Number in Oracle?

When creating a column of type NUMBER in Oracle, you have the option of not specifying a precision or scale. …

database oracle number-formatting
In jQuery, what's the best way of formatting a number to 2 decimal places?

This is what I have right now: $("#number").val(parseFloat($("#number").val()).toFixed(2)); It looks messy to me. I don't …

javascript jquery rounding decimal-point number-formatting
Formatting numbers (decimal places, thousands separators, etc) with CSS

Is it possible to format numbers with CSS? That is: decimal places, decimal separator, thousands separator, etc.

css number-formatting
Format / Suppress Scientific Notation from Python Pandas Aggregation Results

How can one modify the format for the output from a groupby operation in pandas that produces scientific notation for …

python pandas floating-point scientific-notation number-formatting
How to set thousands separator in Java?

How to set thousands separator in Java? I have String representation of a BigDecimal that I want to format with …

java number-formatting bigdecimal