Cody

Problem 2866. Matlab Basics - Rounding II

Created by Yaz Majeed in Community

Write a script to round a variable x to 3 decimal places:

e.g. x = 2.3456 --> y = 2.346

Solution Stats

74.35% Correct | 25.65% Incorrect
Last solution submitted on Apr 18, 2019

Solution Comments