String Currency Symbol Parsing ($) #12070
-
Does Carbon (V10) do any currency character parsing, and are there ways to configure it? I wasn't able to find anything in the docs. My app has a component where a dollar-amount string is passed to a element in React, and for some reason it is converting the $ into ¤ when the page renders on the deployed application. A code example of where this is happening is below, where the formattedValue variable is a string of "$100.00" but renders as ¤100.00. Any suggestions greatly appreciated!
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @nickmagruder, we don't do any sort of character parsing that would change this. Would you be able to recreate your issue in a sandbox so we can see what's going on? What version of Carbon are you on, and has this always been an issue or a recent one (trying to determine if it's tied to any version bugs)? |
Beta Was this translation helpful? Give feedback.
-
Wasn't related to Carbon, but was a locale setting in our API. |
Beta Was this translation helpful? Give feedback.
Wasn't related to Carbon, but was a locale setting in our API.