Note: Output DataType: System.Double
The above syntax explanation:
System.Globalization.CultureInfo.GetCultureInfo("en-IN"): This part retrieves the culture information for the specified culture name “en-IN,” which represents the English (India) culture. Culture information affects how numbers, dates, and other types of data are formatted and displayed.
"n": This is a format specifier for numeric values in the “Number” format. It represents a numeric value with a thousands separator and a fixed number of decimal places (usually two).
Math.Round(CDbl(129454.92)): This part converts the given number (129454.92) into a Double data type using Convert.ToDouble and then applies the Math.Round function to round the number to the nearest integer. In this case, 129454.92 will be rounded to 129455.
so, if the number is 0.0046 and you apply the above syntax it will be formatted to 0
so you can use below syntax: