[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QLocale for float Arabic Numbers
From:       Arash <arashbi () gmail ! com>
Date:       2006-05-31 12:30:34
Message-ID: 2856b29d0605310518h6f492e5ag94e0754be8c78e20 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

On 5/31/06, Allan Sandfeld Jensen <kde@carewolf.com> wrote:
>
> On Wednesday 31 May 2006 13:14, you wrote:
> > I checked QT4 and it handles int correctly but it seems it could not
> handle
> > the float number I tried to read something like (۱۲۳/۴) which stands for
> (
> > 123.4) but it could not understand it. did you checked it?
> > On the other hand, we could check for the number value of Unicode
> > characters and treat all digits in all locales simultaneously. Why I
> should
> > wrap my inputs into QLocale to be able to cast them to number values?
> >
>
> Qt expects you to use unicode 1643 as a separator. I probably fails when
> seeing /


well, this is 1643 is not what we use for seperator. We always use / as a
seperator

`Allan
>



-- 
from debian manifesto:
Debian Linux is a brand-new kind of Linux distribution.
Rather than being developed by one isolated individua
l or group, as other distributions of Linux have been developed in the
past, Debian is being developed openly in the spirit of Linux and GNU.

[Attachment #5 (text/html)]

<br><br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">Allan \
Sandfeld Jensen</b> &lt;<a href="mailto:kde@carewolf.com">kde@carewolf.com</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Wednesday 31 May 2006 \
13:14, you wrote:<br>&gt; I checked QT4 and it handles int correctly but it seems it \
could not handle<br>&gt; the float number I tried to read something like (۱۲۳/۴) \
which stands for (<br>&gt; 123.4 ) but it could not understand it. did you checked \
it?<br>&gt; On the other hand, we could check for the number value of Unicode<br>&gt; \
characters and treat all digits in all locales simultaneously. Why I should<br>&gt; \
wrap my inputs into QLocale to be able to cast them to number values? \
<br>&gt;<br><br>Qt expects you to use unicode 1643 as a separator. I probably fails \
when<br>seeing /</blockquote><div><br>well, this is 1643 is not what we use for \
seperator. We always use / as a seperator<br></div><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> `Allan<br></blockquote></div><br><br \
clear="all"><br>-- <br>from debian manifesto:<br>Debian Linux is a brand-new kind of \
Linux distribution.<br> Rather than being developed by one isolated individua<br>l or \
group, as other distributions of Linux have been developed in the <br> past, Debian \
is being developed openly in the spirit of Linux and GNU. 



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic