Recent

Author Topic: whay there is '?' in Float display format in LazReport  (Read 3569 times)

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
whay there is '?' in Float display format in LazReport
« on: September 19, 2014, 10:43:40 am »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
Re: whay there is '?' in Float display format in LazReport
« Reply #1 on: September 19, 2014, 11:29:48 am »
(Afaik there is a bugreport for something related with South African locale that uses a shifted space (ascii 160) as thousands separator)

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: whay there is '?' in Float display format in LazReport
« Reply #2 on: September 19, 2014, 11:50:38 am »
what we must be do?? select the english langage in the installation of lazarus ????   :-\

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: whay there is '?' in Float display format in LazReport
« Reply #3 on: September 19, 2014, 03:43:59 pm »
LazReport needs to convert the Ansi to Utf8 I guess.
Alternatively set DefaultFormatSettings.ThousandSeparator to some lower ASCII value?

Bart

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: whay there is '?' in Float display format in LazReport
« Reply #4 on: September 19, 2014, 03:47:33 pm »
in my program i use
decimalseparator := '.';
it is the source of problem ???

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
Re: whay there is '?' in Float display format in LazReport
« Reply #5 on: September 19, 2014, 04:16:13 pm »
Try to set thousandsseparator to ',' or nothign.

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: whay there is '?' in Float display format in LazReport
« Reply #6 on: September 19, 2014, 05:03:56 pm »
i do it but always a problem !!!
i use sqllite; perhaps it is the source of problem??? ;

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: whay there is '?' in Float display format in LazReport
« Reply #7 on: September 19, 2014, 10:38:50 pm »
 >:D yep!
it's not problem pf '.' or ','
but we can do this for the solution;

ThousandSeparator :=' ';

 thank's all; marcov; Bart,   :)

 

TinyPortal © 2005-2018