This topic is locked

Integer formatting

6/28/2008 8:25:24 PM
PHPRunner General questions
S
sakisl author

Hi

I'm having trouble trying to format integers.

The "Number" formating implies 2 decimals, which I don't like.

In fact, my table has a "Year" field, which I want displayed as "2008" and not "2008,00".

The MySQL data type is "INT". Weird, but it seems there is no integer formatting in the Visual Editor.

Any ideas ?
Thanks in advance
(PS: I have more, similar fields, hopefully I won't need to write code for each of them...... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8871&image=1&table=forumtopics' class='bbc_emoticon' alt=':unsure:' /> )

S
steveh 6/30/2008

Just set it to have no format at all.

S
sakisl author 7/3/2008

Just set it to have no format at all.


Right , thx Steve ! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=30785&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />