El dissabte, 1 de maig de 2021, a les 7:26:24 (CEST), hanyoung va escriure: > I've fixed the keyboard bug and change the division result between two in= tegers to float.=20 I don't think that changing knumber to do that is a great idea, keeping int= eger divisions as fraction instead of float seems the correct thing to do, = you should instead change the ui to be able to show fractions as floats but= to keep the internal representation as good as possible, i.e. as a fractio= n. Not sure if related to that or not, but now if i type 65 / 9 =3D * 7 =3D=20 i get 1.39999e+16 which doesn't seem correct, should be 50,5555... I'd really suggest you add autotests for this. Cheers, Albert > Also the qml warning has been fixed. >=20 > Regards, > Han >=20 > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > On Saturday, May 1, 2021 5:13 AM, Albert Astals Cid wrote: >=20 > > El divendres, 30 d=E2=80=99abril de 2021, a les 15:31:11 (CEST), hanyou= ng va escriure: > > > > > Kalk has now switched to the (modified) KNumber as base data type now= =2E The real number precision is hard coded to 16 for now. Also during SoK,= binary mode was introduced. > > > > Running it i get > > > > qrc:/qml/CalculationPage.qml:85: TypeError: Property 'binaryMode' of ob= ject InputManager(0x55ab4db7cac0) is not a function > > > > Keyboard input seems broken (typing one 6 i get two of them to show up) > > > > Dividing doesn't work https://i.imgur.com/Zr04aki.gif > > > > Cheers, > > Albert >=20 >=20 >=20 >=20