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.1% Correct | 26.9% Incorrect
Last solution submitted on Jun 22, 2019

Solution Comments