Hello,

Bourgneuf Francois wrote:
This version works with decimals :
  DB<1> $_=1234567.7891;

  DB<2> s/\B(?=(...)*\.)/ /g

  DB<3> print;
1 234 567.7891

        Great! I love this one!
--
--      \^/                                            --
--    -/ O \---------------------------------------    --
--   | |/ \|      Alexandre (Midnite) Jousset      |   --
--    -|___|---------------------------------------    --

Reply via email to