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

Fixed/Floating currency symbol

3 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mandeep bhullar
Top achievements
Rank 1
mandeep bhullar asked on 25 Feb 2011, 09:59 PM
Is there an option to have the currency symbol on a textbox (or a column in a table/crosstab item) either fixed or floating.  See attached image.  The screenshot is from Crystal Report.  In fixed format, the currency symbol is left aligned while the number is right aligned, which will give a look like an accounting book.

Fixed: Floating:
$ 1,000,000 $1,000,000
$        1,000        $1,000
$    210,000    $210,000
$             50     $50
------------------- --------------
$ 1,211,050 $1,211,050
------------------- --------------

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Mar 2011, 05:25 PM
Hi mandeep,

We did not find any screenshots attached to this thread, note that allowed extensions are: .gif, .jpg, .jpeg, and .png. Currently the built-in way via expression to format numbers as currency will display them as what you refer to as "float". Although there is no out of the box functionality for fixed characters in a TextBox, you can easily simulate such layout with two TextBoxes - one for the currency and one for the actual data.

All the best,
Steve
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Kevin
Top achievements
Rank 1
answered on 05 Mar 2018, 03:31 PM
Obviously, the admin is a little slow, but did you ever get a response to this? 
0
Silviya
Telerik team
answered on 08 Mar 2018, 01:13 PM
Hi Kevin,

You can set the currency format in TextBox.Format property. The value will be formatted according to the culture settings - Report Globalization.

Additionally, from my colleague's answer it seems that both floated and fixed approaches are covered.
" the built-in way via expression to format numbers as currency will display them as what you refer to as "float". Although there is no out of the box functionality for fixed characters in a TextBox, you can easily simulate such layout with two TextBoxes - one for the currency and one for the actual data. "

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
mandeep bhullar
Top achievements
Rank 1
Answers by
Steve
Telerik team
Kevin
Top achievements
Rank 1
Silviya
Telerik team
Share this question
or