+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Font size in number with decimals


(Guest) #1

Is it possible to display a number where the decimals have a different font size.

It concerns sales prices that should be displayed like this:

[size=8]24[/size],[size=5]90[/size]

These prices automatically come from a database, so no manual interference should be done


(Guest) #2

Hello,

Try some like this:

First, create a new formated text column (rtf), and add this code

«Fstr$(int(Item.UnitPrice),"###,###",1)»,«Fstr$(Item.UnitPrice-int(Item.UnitPrice),"&&",1)»

and you will be able to apply fonts to both parts separately.

Good luck.


(Guest) #3

In layout preview in list & label it looks fine: [size=7]99[/size],00, but unfortunately when I use the layout for real 24,90 become 0,00 with this code…


(Guest) #4

You must have some problem, for my it works correctly.

You can see at


(Guest) #5

Now it works if I put the same variable (or formula) I want in formatted text, somewhere in the document as Normal text (and hide it). Strange, but happy it works now…