OT: kerekites a 4 alapmuveletnel

HWSW Famulus hwsw at famulus.hu
Tue Dec 30 21:16:30 CET 2003


Hol....hol....
Hat minden tudasok forrasanal :-))))

A Microsoft Dveloper Network-ben,
legalabbis az MS verziot.........

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemMathClassRoundTopic.asp

A lenyeg:
When d is exactly halfway between two rounded values, the result is the rounded value that has an even digit in the far right decimal position. For example, when rounded to two decimals, the value 2.345 becomes 2.34 and the value 2.355 becomes 2.36. This process is known as rounding toward even, or rounding to nearest.



KJ



  ----- Original Message ----- 
  From: VFX 
  To: elektro at tesla.hu 
  Sent: Tuesday, December 30, 2003 8:55 PM
  Subject: Re: OT: kerekites a 4 alapmuveletnel


  Hali!


  > A banki kerekites (parosra es paratlanra maskent banik a 0,5-el)
  > 
  > 1,499999999.... -> 1
  > 1,500000000.... -> 1
  > 1,510000000.... -> 2
  > 
  > 2,499999999.... -> 2
  > 2,500000000.... -> 3
  > 2,510000000.... -> 3
  > 
  > de lehet, hogy forditva a fene emlexik pontosan
  > valami forrasban megvan valahol, ha szornyen kell

  Ez lesz az, hol lehet ennek pontosan utana nezni?!

  UDV. VFX.
  http://www.vfx.hu



More information about the Elektro mailing list