Add dots to number
Posted: 05 Oct 2018, 03:07
Hi,
Does anyone knows how to convert this number 123456789 into this 123.456.789
Thanks
Does anyone knows how to convert this number 123456789 into this 123.456.789
Thanks
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=57004
Code: Select all
num := 100000
msgbox % KSep(num)
KSep(x, d=2, s=".") {
return RegExReplace(round(x,0), "\G\d+?(?=(\d{3})+(?:\D|$))", "$0" s)
}