Top "Number-formatting" questions

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

Formula to convert date to number

I would like to know the formula to convert a date in 10/26/2013 to 41573 number as done in Excel. Like how 10/26/2013 …

excel date number-formatting
SSRS custom number format

I am go to generate an excel file from SSRS, and I want to format the number like this... 15 is …

reporting-services number-formatting custom-formatting
Format telephone and credit card numbers in AngularJS

Question one (formatting telephone number): I'm having to format a telephone number in AngularJS but there is no filter for …

angularjs number-formatting
Suppress Scientific Notation in Numpy When Creating Array From Nested List

I have a nested Python list that looks like the following: my_list = [[3.74, 5162, 13683628846.64, 12783387559.86, 1.81], [9.55, 116, 189688622.37, 260332262.0, 1.97], [2.2, 768, 6004865.13, 5759960.98, 1.21], [3.74, 4062, 3263822121.39, 3066869087.9, 1.93], [1.91, 474, 44555062.72, 44555062.72, 0.41], [5.8, 5006, 8254968918.1, 7446788272.74, 3.25], [4.5, 7887, 30078971595.46, 27814989471.31, 2.18], [7.03, 116, 66252511.46, 81109291.0, 1.56], [6.52, 116, 47674230.76, 57686991.0, 1.43], [1.85, 623, 3002631.96, 2899484.08, 0.64], [13.76, 1227, 1737874137.5, 1446511574.32, 4.32], [13.76, 1227, 1737874137.5, 1446511574.32, 4.32]] I then import Numpy, and set print …

python numpy number-formatting scientific-notation
Why is my toFixed() function not working?

Here's the relevant code. I've confirmed with the alert that the correct number is saved, it's just not being changed …

javascript jquery number-formatting
JavaScript Chart.js - Custom data formatting to display on tooltip

I have looked at various documentation and similar questions on here, but cannot seem to find the particular solution. Apologies …

javascript string-formatting number-formatting code-formatting chart.js
Finding absolute value of a number without using Math.abs()

Is there any way to find the absolute value of a number without using the Math.abs() method in java.

java number-formatting absolute-value
How can I parse a string with a comma thousand separator to a number?

I have 2,299.00 as a string and I am trying to parse it to a number. I tried using parseFloat, which …

javascript number-formatting
What is ToString("N0") format?

This code is from Charles Pettzold's "Programming Windows Sixth Edition" book: public object Convert(object value, Type targetType, object parameter, …

c# .net number-formatting
How do format a phone number as a String in Java?

I have been storing phone numbers as longs and I would like to simply add hyphens when printing the phone …

java string number-formatting