4

In a Label Tool is it possible to display value of a point, for example 3.2 (double type), with subscript after a dot, like that: 32 ?

1

You can use the custom functions shown in this answer to write an expression that will achieve this when labelling.

Try this:

to_int( <VALUE> ) || subscr_num(  to_string( to_int(abs(<VALUE>  - to_int(<VALUE> ) )) * 10))

This will display the first decimal place as a subscript. Note that not all fonts have the unicode subscript characters, Lucida Sans is one that does work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.