.numericFormat-1000::after { content: "."; } .numericFormat-minus > span, .numericFormat-dec > span { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } .numericFormat-minus::after { content: "−"; } .numericFormat-dec::after { content: ","; } .numericFormat-fractpart { margin-right: 0.2em; }