**** BEGIN LOGGING AT Mon Jul 15 03:01:15 2019 Jul 15 04:59:52 brolin_empey: ? Jul 15 05:05:09 luke-jr: ?? Jul 15 05:05:39 "my aforementioned floating point “problem”" Jul 15 05:05:47 what problem?> Jul 15 05:08:31 The lack of rounding of the result of the prices I am adding, which should have only two decimal places. Jul 15 05:08:56 you should never use floats for money Jul 15 05:11:02 Well, I use Python as a calculator on my desktop computer and it seems that Python uses floating point in this context. Jul 15 06:26:22 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 Jul 15 06:30:13 Maybe I can have Python use fixed point instead of floating point? Or use something other than Python, such as bc? Jul 15 06:35:26 Python has `//` for integral division, if that's what you need. Jul 15 06:39:54 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 Jul 15 06:39:54 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. Jul 15 06:41:44 N900 uses i2c afaik Jul 15 06:42:26 I imagine there isn't a standard interface for almost all keyboards. Jul 15 06:59:18 Python: In this case, I am adding instead of dividing. Jul 15 07:21:07 If you add two ints in Python, you should get back an int. Jul 15 07:21:35 though iirc there is something liku .__iadd__, so maybe there's an operator for that too. Jul 15 07:21:50 maybe not Jul 15 07:22:14 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. **** ENDING LOGGING AT Tue Jul 16 03:02:17 2019