Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

multiplication nombre avec séparateur, dans un tpl

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
pum
Smarty n00b


Joined: 07 May 2020
Posts: 1

PostPosted: Thu May 07, 2020 9:52 am    Post subject: multiplication nombre avec séparateur, dans un tpl Reply with quote

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
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri May 08, 2020 10:33 pm    Post subject: Reply with quote

Don't format variables before Smarty.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP