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

73.6% Correct | 26.4% Incorrect
Last solution submitted on Jul 19, 2019

Solution Comments