Public bug reported:

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...

** Affects: gcalctool (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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).
+ (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...

-- 
gcalctool calculates wrong
https://bugs.launchpad.net/bugs/387070
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to