-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
numfmt #2058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
another problem: |
Thanks for your issue. As the documentation of |
I added support for apply number format with hash and zero place holder, please upgrade to the master branch code. This feature will be release in the next version. |
…ce holder - Update unit tests - Disable blank issue creation
Uh oh!
There was an error while loading. Please reload this page.
with custom numfmt "[$¥-8004]" "#" "####""", the value "80145.899999999994" format to "80145.899999999994", but excel format as "¥ 8 0146"。
after the following change, the result is correct:
in numfmt.go:
supportedLanguageCodeInfo={
"8004":xxx,
xxx
}
in printNumberLiteral func:
...
if token.TType == nfp.TokenTypeHashPlaceHolder || token.TType == nfp.TokenTypeZeroPlaceHolder {
if useLiteral && usePlaceHolder {
//change here
//return nf.value
return result
}
...
The text was updated successfully, but these errors were encountered: