How to assign RadCalculatorDropdown.Value always with number decimal digit each equals button click.
for example:
i have input 22 / 7
but result is 3,1428571428571428571428571429
i want the result is 3,1429 with 4 digit decimal
thanks
2 Answers, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Sep 2018, 11:41 AM
Hello, Agung,
RadCalculatorEditorContentElement is a derivative of the RadTextBoxElement which hosts the standard MS TextBox. It does not offer formatting out of the box. Additionally, the RadCalculatorDropDownElement.Value property accepts decimal values. Hence, in order to force some custom format to the calculator, you can use a RadMaskedEditBox and add the arrow button that shows the calculator popup. Here is a sample implementation:
RadCalculatorDropDownElement calculatorElement = new RadCalculatorDropDownElement();
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.