# Activity log for bug #387070

Date Who What changed Old value New value Message
2009-06-14 21:08:36 Hoffmann bug added bug
2009-06-14 21:08:59 Hoffmann description Binary package hint: gcalctool I was trying to calculate a radio channel. The frequency of the first channel is 74.215 MHz, the frequency of my channel is 75.695 MHz. The distance between two channels is 0,02 Mhz and the first channel is #347. (Just for the interested ones, this is german 2m-Band BOS). Now I use Int(347 - (75.695 - 74.215)/0.02) = 420. But if I do it without Int() it results in 75.695 - 74.215)/0.02 = 421. I looked it up and the right channel would be 421. So where is the problem? If I convert 421 to Int it results in 421, so the Int-function can't be the problem as well... Binary package hint: gcalctool I was trying to calculate a radio channel. The frequency of the first channel is 74.215 MHz, the frequency of my channel is 75.695 MHz. The distance between two channels is 0,02 Mhz and the first channel is #347. (Just for the interested ones, this is german 4m-Band BOS). Now I use Int(347 - (75.695 - 74.215)/0.02) = 420. But if I do it without Int() it results in 75.695 - 74.215)/0.02 = 421. I looked it up and the right channel would be 421. So where is the problem? If I convert 421 to Int it results in 421, so the Int-function can't be the problem as well...
2009-06-15 00:25:35 Robert Ancell gcalctool (Ubuntu): status New Incomplete
2009-06-16 00:49:16 Robert Ancell gcalctool (Ubuntu): importance Undecided Low
2009-06-16 00:49:16 Robert Ancell gcalctool (Ubuntu): status Incomplete Triaged
2009-06-16 00:50:39 Robert Ancell summary gcalctool calculates wrong Int(1.48/0.02) = 73 instead of 74
2009-06-16 00:52:17 Robert Ancell bug watch added http://bugzilla.gnome.org/show_bug.cgi?id=585931