[haiku-bugs] Re: [Haiku] #13618: Haiku lacks support for a locale-sensitive decimal point.

  • From: "owenca" <trac@xxxxxxxxxxxx>
  • Date: Sat, 22 Jul 2017 20:20:30 -0000

#13618: Haiku lacks support for a locale-sensitive decimal point.
-------------------------+-------------------------------------------------
   Reporter:  owenca     |      Owner:  pulkomandy
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1/beta1
  Component:             |    Version:  R1/Development
  Kits/Locale Kit        |   Keywords:  BFormattingConventions,
 Resolution:             |  BFloatFormat,
                         |  BGenericNumberFormat::FractionSeparator()
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+-------------------------------------------------

Comment (by owenca):

 I tried
 {{{
 BString str;
 BNumberFormat fmt;
 fmt.Format(str, 0.9);
 }}}
 but it doesn't format 0.9 as 0,9 when I set Deutsch as the preferred
 language from the Locale window.

 I need to know what Haiku uses as the decimal-point symbol under the
 current locale set by the user so that I can allow/disallow it in a text
 control.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13618#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: