Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
module.exports = {
  'name': 'round',
  'category': 'Arithmetic',
  'syntax': [
    'round(x, n)'
      'round a value towards the nearest integer.If x is complex, both real and imaginary part are rounded towards the nearest integer. When n is specified, the value is rounded to n decimals.',
  'examples': [
    'round(pi, 3)',
    'round(123.45678, 2)'
  'seealso': ['ceil', 'floor', 'fix']
New to GrepCode? Check out our FAQ X