We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display integer value without periods (or comman) in SFNumericTextbox.

Thread ID:

Created:

Updated:

Platform:

Replies:

131159 Jun 25,2017 08:48 AM UTC Jun 26,2017 07:49 AM UTC Xamarin.Forms 1
loading
Tags: SfNumericTextBox
Anupong
Asked On June 25, 2017 08:48 AM UTC

How to display integer value without periods (or comma) in SFNumericTextbox.

Example:

My value is 1900 and I try set property MaximumDecimalDigits="0", The control is display "1,900" (I want to show "1900")

and then I try set property FormatString="N0" but it not work, The control display "1,900N0".


What should I do?




Pavendhan Kumar [Syncfusion]
Replied On June 26, 2017 07:49 AM UTC

Hi Anupong,

Thank you for using Syncfusion product.

Query 1: How to display integer values without periods in SfNumericTextBox.

Displaying numbers with regional separators(periods) is the behaviour of SfNumericTextBox. And currently we do not have any support to display without any periods. You can use Xamarin.Forms Entry with Numeric keypad for your requirement. Here we have prepared and attached a sample for your reference please download it from the below link.

Sample Link: http://www.syncfusion.com/downloads/support/forum/131159/ze/NumericTextBoxIntegerSupport-352758711 

Query 2: Using “NO” in FormatString

SfNumericTextBox has three formats (“N”,” P”,”C”) and one custom format. If we give any format string out of following characters{“N”,”n”,”P”,”p”,”C”,”c”} NumericTextBox will take it as custom format and display the given character or string after the entered value in the text box.

Please let us know if you have any other queries

Regards,
Pavendhan K.

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;