Skip to content

Commit a209b7e

Browse files
Tsvetomir-Hrdimodi
authored andcommitted
docs(NumericTextBox): kb polish
1 parent 0da58fb commit a209b7e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

knowledge-base/numeric-textbox-kb-zero-decimals.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ticketid: 1661907
2121

2222
## Description
2323

24-
When using the [NumericTextBox](https://docs.telerik.com/blazor-ui/components/numerictextbox/overview) with a currency format, setting the `Decimals` parameter to 0 does not prevent decimal places from being displayed. This occurs because the `Format="C"` parameter, which specifies currency formatting, overrides the `Decimals` parameter by adding two decimal places by default, according to the local currency settings (e.g., £).
24+
When using the [NumericTextBox]({%slug components/numerictextbox/overview%}) with a currency format, setting the `Decimals` parameter to 0 does not prevent decimal places from being displayed. This occurs because the `Format="C"` parameter, which specifies currency formatting, overrides the `Decimals` parameter by adding two decimal places by default, according to the local currency settings (e.g., £).
2525

2626
This KB article also answers the following questions:
2727
- How to display currency values without decimals in a NumericTextBox?
@@ -46,6 +46,5 @@ It is crucial to understand that the `Decimals` parameter only affects the allow
4646

4747
## See Also
4848

49-
- [NumericTextBox Overview](https://docs.telerik.com/blazor-ui/components/numerictextbox/overview)
50-
- [NumericTextBox Parameters](https://docs.telerik.com/blazor-ui/components/numerictextbox/overview#numeric-textbox-parameters)
49+
- [NumericTextBox Parameters]({%slug components/numerictextbox/overview%}#numeric-textbox-parameters)
5150
- [Standard Numeric Format Strings - Currency Format Specifier (C)](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings#currency-format-specifier-c)

0 commit comments

Comments
 (0)