Closed rzlnhd closed 2 years ago
Hi. I'm making some pull request again.
[X] Bugfix: pulse doesn't work. Now activating pulse will ignore once config.
pulse
once
[X] Feature: Add formater config. It accept string or boolean false to turn it off (by default is "en-US"). (#31)
formater
string
false
"en-US"
README.md
repeat
string: Locale as string booelan: only false
booelan
If the formater is false, then use .toString() method to convert number to string.
.toString()
If the separator is true and the formater is not "en-US", then use the default separator (both thausands and decimals).
separator
true
If the separator is a char, than use that value for thausands separator.
However, if the separator is ",", then the decimal separator is ".". Other than that, the decimal separator will be ","
","
"."
Check out if you have free time... Thank you...
Seems I forget to add formater default value, my bad...😅
Thanks will just test and review this tonight :) You're a superstar mate !
Hi. I'm making some pull request again.
[X] Bugfix:
pulse
doesn't work. Now activatingpulse
will ignoreonce
config.[X] Feature: Add
formater
config. It acceptstring
or booleanfalse
to turn it off (by default is"en-US"
). (#31)[x] Edit file:
README.md
changerepeat
topulse
.formater
Configurationstring
: Locale as stringbooelan
: onlyfalse
If the
formater
isfalse
, then use.toString()
method to convert number to string.If the
separator
istrue
and theformater
is not"en-US"
, then use the default separator (both thausands and decimals).If the
separator
is a char, than use that value for thausands separator.However, if the
separator
is","
, then the decimal separator is"."
. Other than that, the decimal separator will be","
Check out if you have free time... Thank you...