converting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AsHantoosH
    New Member
    • Feb 2009
    • 7

    converting

    I have 100 array elements with floating points then how can i convert floating point to the nearest integer,If the fractional part of the number is greater than .75,
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    I suggest an if condition coupled ceil/floor packed in a function.

    [EDIT] if you want to go crazy, you can write your own Iterator class.

    Comment

    Working...