Share » Forums » Developer » Reducing decimals in poll-results

Reducing decimals in poll-results

Reducing decimals in poll-results

Tuesday 03 January 2006 4:56:52 am - 2 replies

Modified on Tuesday 03 January 2006 3:21:31 pm by K259

Author Message

Kristian Hole

Tuesday 03 January 2006 5:14:43 am

You can use shorten:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/strings/shorten

example:
{'33.3333333'|shorten(4,'')}

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

K259

Tuesday 03 January 2006 5:57:16 am

Tnx. It works.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu