Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Conversion of Real to Integer

  • To: mathgroup at
  • Subject: [mg3047] Conversion of Real to Integer
  • From: TTCJ34A at (DR JOHN C ERB)
  • Date: Sun, 28 Jan 1996 03:21:36 -0500
  • Sender: owner-wri-mathgroup at

In mathematica, how can one emulate the fortran real to integer 
conversion functions INT ( ) and
NINT ()?  An example being: INT(3.6) --> 3 and NINT(3.6) --> 4.  Also,
 how does one convert from integer to real?  Thank you.


  • Prev by Date: Re: Complex Default
  • Next by Date: ContourPlot3D
  • Previous by thread: Q: How to manipulate ..
  • Next by thread: Conversion of Real to Integer