<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-07 16:39 GMT+02:00 Benoît Minisini <span dir="ltr"><<a href="mailto:g4mba5@gmail.com" target="_blank">g4mba5@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 07/08/2018 à 16:22, Gianluigi a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thousand separators are used as soon as there is a comma in the<br>
formatting string before the point, and at least one digit.<br>
<br>
Regards,<br>
<br>
-- Benoît Minisini<br>
<br>
<br>
Sorry my ignorance, but I did not understand the answer :-(<br>
Attach example<br>
<br>
Regards<br>
Gianluigi<br>
<br>
</blockquote>
<br>
I mean that you can just write:<br>
<br>
Format(N, ",#")<br>
<br>
To get thousand separators.<br>
<br>
You don't have to write three "#" in the format string.<br>
<br>
Regards,<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Benoît Minisini<br>
<br></font></span></blockquote><div><br></div><div>So if I also need two decimals the correct form is:</div><div>Print Format$(N, ",#.#0")<br></div><div>Thank you very much<br></div><div><br></div><div>Regards</div><div>Gianluigi<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888">
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</font></span></blockquote></div><br></div></div>