|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pum Smarty n00b
Joined: 07 May 2020 Posts: 1
|
Posted: Thu May 07, 2020 9:52 am Post subject: multiplication nombre avec séparateur, dans un tpl |
|
|
Bonjour, j'ai un soucis ,
lorsque je multiplie par 2 (par exemple) une variable qui a le format par exemple 5 207,50 (5[espace]207,50), le résultat donné est 10 seulement.
par exemple :
{$pricea=$priceb*2} -> résultat affiché 10
un idée .?
merci. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Fri May 08, 2020 10:33 pm Post subject: |
|
|
Don't format variables before Smarty. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|