*** Pali has joined #maemo | 00:12 | |
*** cyteen_ has joined #maemo | 01:16 | |
*** Pali has quit IRC | 01:29 | |
*** xes has quit IRC | 01:33 | |
*** xes has joined #maemo | 01:41 | |
*** florian has quit IRC | 02:02 | |
*** xes has quit IRC | 02:21 | |
*** xes has joined #maemo | 02:25 | |
*** xes has quit IRC | 02:42 | |
*** xes has joined #maemo | 02:46 | |
*** atk has quit IRC | 03:00 | |
*** atk has joined #maemo | 03:00 | |
*** infobot has quit IRC | 03:20 | |
*** infobot has joined #maemo | 03:21 | |
*** ChanServ sets mode: +v infobot | 03:21 | |
*** keithzg has joined #maemo | 04:53 | |
*** parazyd has quit IRC | 05:17 | |
*** parazyd has joined #maemo | 05:24 | |
*** tm has quit IRC | 06:47 | |
*** tm has joined #maemo | 06:51 | |
*** pagurus` has quit IRC | 06:56 | |
*** pagurus has joined #maemo | 06:57 | |
*** Kilroo has quit IRC | 07:57 | |
luke-jr | brolin_empey: ? | 07:59 |
---|---|---|
brolin_empey | luke-jr: ?? | 08:05 |
luke-jr | "my aforementioned floating point “problem”" | 08:05 |
luke-jr | what problem?> | 08:05 |
brolin_empey | The lack of rounding of the result of the prices I am adding, which should have only two decimal places. | 08:08 |
luke-jr | you should never use floats for money | 08:08 |
brolin_empey | Well, I use Python as a calculator on my desktop computer and it seems that Python uses floating point in this context. | 08:11 |
*** sunshavi has joined #maemo | 08:43 | |
*** sunshavi has quit IRC | 08:59 | |
*** sunshavi has joined #maemo | 09:08 | |
DocScrutinizer05 | luke-jr: brolin_empey: COBOL actually uses EBDIC (sort of BCD) dezimal digits to represent and compute values, more often than not that's money. they will know why the do this | 09:26 |
brolin_empey | Maybe I can have Python use fixed point instead of floating point? Or use something other than Python, such as bc? | 09:30 |
Maxdamantus | Python has `//` for integral division, if that's what you need. | 09:35 |
brolin_empey | Incidentally: Which interface is used to connect the integrated hardware keyboard on an ARM or MIPS handheld or notebook computer, such as the Nokia N900 or PineBook (both ARM) or Ben NanoNote (MIPS) or a computer not usually running Linux, such as the Nokia C6-00 (Symbian on ARM) or BlackBerry Classic (BlackBerry 10 on ARM)? On x86 notebook computers, the integrated keyboard and mouse substitute are usually connected via PS/2 but I do not know how the | 09:39 |
brolin_empey | integrated hardware keyboard and trackball or similar are connected on non-x86 computers other than Apple PowerBook m68k and PowerPC notebook computers, which use Apple Desktop Bus. | 09:39 |
Maxdamantus | N900 uses i2c afaik | 09:41 |
Maxdamantus | I imagine there isn't a standard interface for almost all keyboards. | 09:42 |
*** eMHa__ has quit IRC | 09:46 | |
*** luke-jr has quit IRC | 09:50 | |
*** ollieparanoid[m] has quit IRC | 09:50 | |
*** jon_y has quit IRC | 09:51 | |
*** mva has quit IRC | 09:51 | |
*** ceene has quit IRC | 09:51 | |
*** sixwheeledbeast has quit IRC | 09:51 | |
*** g3kk3r_ has quit IRC | 09:51 | |
*** chem|st has quit IRC | 09:51 | |
*** atk has quit IRC | 09:51 | |
*** qwazix has quit IRC | 09:51 | |
*** rah has quit IRC | 09:51 | |
*** r00t^home has quit IRC | 09:51 | |
*** deepy has quit IRC | 09:51 | |
brolin_empey | Python: In this case, I am adding instead of dividing. | 09:59 |
*** Pali has joined #maemo | 10:00 | |
*** Pali has quit IRC | 10:08 | |
*** eMHa__ has joined #maemo | 10:09 | |
*** troulouliou_div2 has joined #maemo | 10:10 | |
*** atk has joined #maemo | 10:16 | |
*** qwazix has joined #maemo | 10:16 | |
*** rah has joined #maemo | 10:16 | |
*** r00t^home has joined #maemo | 10:16 | |
*** deepy has joined #maemo | 10:16 | |
*** luke-jr has joined #maemo | 10:16 | |
*** ollieparanoid[m] has joined #maemo | 10:16 | |
*** jon_y has joined #maemo | 10:16 | |
*** mva has joined #maemo | 10:16 | |
*** ceene has joined #maemo | 10:16 | |
*** sixwheeledbeast has joined #maemo | 10:16 | |
*** g3kk3r_ has joined #maemo | 10:16 | |
*** chem|st has joined #maemo | 10:16 | |
*** luke-jr has quit IRC | 10:17 | |
*** luke-jr has joined #maemo | 10:18 | |
Maxdamantus | If you add two ints in Python, you should get back an int. | 10:21 |
Maxdamantus | though iirc there is something liku .__iadd__, so maybe there's an operator for that too. | 10:21 |
Maxdamantus | maybe not | 10:21 |
Maxdamantus | anyway, the goal should be to not get a float in the first place, rather than to convert it to int when you get it. | 10:22 |
*** jskarvad has joined #maemo | 10:37 | |
*** saidinesh5 has joined #maemo | 10:41 | |
*** florian has joined #maemo | 10:49 | |
*** jon_y has quit IRC | 11:06 | |
*** saidinesh5 has quit IRC | 11:11 | |
*** saidinesh5 has joined #maemo | 11:11 | |
*** jon_y has joined #maemo | 11:11 | |
*** r00t-home has joined #maemo | 11:22 | |
*** jon_y has quit IRC | 11:26 | |
*** atk has quit IRC | 11:26 | |
*** qwazix has quit IRC | 11:26 | |
*** rah has quit IRC | 11:26 | |
*** r00t^home has quit IRC | 11:26 | |
*** deepy has quit IRC | 11:26 | |
*** saidinesh5 has quit IRC | 11:27 | |
*** ollieparanoid[m] has quit IRC | 11:27 | |
*** mva has quit IRC | 11:27 | |
*** ceene has quit IRC | 11:27 | |
*** sixwheeledbeast has quit IRC | 11:27 | |
*** g3kk3r_ has quit IRC | 11:27 | |
*** chem|st has quit IRC | 11:27 | |
*** Venemo has joined #maemo | 11:27 | |
*** g3kk3r has joined #maemo | 11:35 | |
*** sixwheeledbeast has joined #maemo | 11:35 | |
*** chem|st has joined #maemo | 11:35 | |
*** mva has joined #maemo | 11:35 | |
*** eMHa__ has quit IRC | 11:35 | |
*** ceene has joined #maemo | 11:36 | |
*** atk has joined #maemo | 11:36 | |
*** rah has joined #maemo | 11:36 | |
*** jon_y has joined #maemo | 11:36 | |
*** deepy has joined #maemo | 11:37 | |
*** infobot has quit IRC | 11:37 | |
*** qwazix has joined #maemo | 11:38 | |
*** qwazix has quit IRC | 11:38 | |
*** qwazix has joined #maemo | 11:38 | |
*** ollieparanoid[m] has joined #maemo | 11:42 | |
*** saidinesh5 has joined #maemo | 11:43 | |
*** infobot has joined #maemo | 11:44 | |
*** ChanServ sets mode: +v infobot | 11:44 | |
*** eMHa__ has joined #maemo | 12:24 | |
*** eMHa has joined #maemo | 12:27 | |
*** HRH_H_Crab has joined #maemo | 12:42 | |
*** Kabouik has joined #maemo | 12:50 | |
*** saidinesh5 has quit IRC | 13:01 | |
*** saidinesh5 has joined #maemo | 13:01 | |
*** Venemo has quit IRC | 15:04 | |
*** progenyx has quit IRC | 15:06 | |
*** Venemo has joined #maemo | 15:38 | |
*** Kabouik has quit IRC | 16:18 | |
*** Oksana has quit IRC | 16:40 | |
*** SpeedEvil has quit IRC | 17:55 | |
*** SpeedEvil has joined #maemo | 17:56 | |
*** troulouliou_div2 has quit IRC | 18:20 | |
*** freemangordon has quit IRC | 18:28 | |
*** freemangordon has joined #maemo | 18:39 | |
*** eMHa has quit IRC | 19:06 | |
*** florian has quit IRC | 19:12 | |
*** Venemo has quit IRC | 19:17 | |
*** drrty has joined #maemo | 19:20 | |
*** Pali has joined #maemo | 19:25 | |
*** eMHa has joined #maemo | 19:37 | |
*** florian has joined #maemo | 19:56 | |
*** LauRoman|Alt has quit IRC | 20:12 | |
*** eMHa_ has joined #maemo | 20:40 | |
*** eMHa has quit IRC | 20:40 | |
*** tryagain has joined #maemo | 20:48 | |
*** jskarvad has quit IRC | 21:01 | |
*** saidinesh5 has quit IRC | 21:16 | |
*** saidinesh5 has joined #maemo | 21:16 | |
*** Oksana has joined #maemo | 21:26 | |
*** Venemo has joined #maemo | 22:06 | |
*** troulouliou_div2 has joined #maemo | 22:06 | |
*** kraft has quit IRC | 22:31 | |
*** kraft has joined #maemo | 22:44 | |
*** kraft has quit IRC | 22:49 | |
*** troulouliou_div2 has quit IRC | 22:51 | |
*** Venemo has quit IRC | 22:58 | |
*** kraft has joined #maemo | 23:00 | |
*** kraft has quit IRC | 23:04 | |
*** kraft has joined #maemo | 23:11 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!