gpw Posted March 4, 2008 Share Posted March 4, 2008 Hi, I was using WHMCS Japanese yen currency for trade. Only the yen is the currency of integers. Therefore, I do not wish to see a number of decimals. I can erase the decimal point? gpw: Yuuki 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted March 4, 2008 Share Posted March 4, 2008 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! 0 Quote Link to comment Share on other sites More sharing options...
gpw Posted March 5, 2008 Author Share Posted March 5, 2008 Thank you Brett! You are my tips, so I could fix ideals. I was finally fixed as follows: {$CODE|round|number_format} very very Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.