This is a migrated thread and some comments may be shown as answers.

Calculator Picker and decimal places

5 Answers 165 Views
Calculator
This is a migrated thread and some comments may be shown as answers.
Craig Ritchie
Top achievements
Rank 1
Craig Ritchie asked on 12 Jun 2012, 03:37 AM
Is there a way to get the calculator picker to display 1.00 instead of just 1?  I want to use it to display money values and 1.00 feels better than just 1.

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 12 Jun 2012, 11:46 AM
Hi,

 Have you tried setting FormatString for the Binding of the Calculator Picker?

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Craig Ritchie
Top achievements
Rank 1
answered on 13 Jun 2012, 01:44 AM
Yes.  It seems to be completely ignored.

            <telerik:RadCalculatorPicker Margin="3"
                                         FontSize="12"
                                         Value="{Binding Path=Transaction.Amount, Mode=TwoWay, StringFormat={}{0:C}}">
            </telerik:RadCalculatorPicker>

The binding works fine as the value changes when I click on the different transactions.  But the format is ignored.  I also tried using a converter but that doesn't work either.

0
Maya
Telerik team
answered on 14 Jun 2012, 07:31 AM
Hello Craig,

Indeed, string format is not respected for WPF in this case. I will investigate the issue and write you back once I could provide more information on the topic. Thank you for your patience.  

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Bruno
Top achievements
Rank 1
answered on 26 Jan 2017, 01:29 PM

Hello,

 

Do you have any response about this topic ?

 

 

0
Dilyan Traykov
Telerik team
answered on 30 Jan 2017, 03:35 PM
Hello,

We are currently aware of this issue and you can follow the process of fixing it by subscribing to the following bug report in our feedback portal. You can also vote for the item in order to raise its priority in our backlog.

Regards,
Dilyan Traykov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Calculator
Asked by
Craig Ritchie
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Craig Ritchie
Top achievements
Rank 1
Maya
Telerik team
Bruno
Top achievements
Rank 1
Dilyan Traykov
Telerik team
Share this question
or