Jump to content

Hide a decimal point?


gpw

Recommended Posts

Yes.

 

You will have to edit the templates though. In your templates you will find smarty tags all over the place. The easiest way to remove it is to find the tag change it like the fillowing.

 

Say you find it and this is your tag:

 

{$TAG}

 

You will want to replace it with the following:

 

{$TAG|replace:'.':''}

 

This bit of code added into the {}:

|replace:'.':''

is what will replace the decimal point with nothing.

 

Where are you trying to remove it from? If you give me that bit I will be able to help you further.

 

Thanks!

 

BTW, welcome to this great community!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated