310 NUMERICAL METHODS Write VBA code to generate a random nu
3.10. (NUMERICAL METHODS) Write VBA code to generate a random number which, when rounded to 4 significant digits, is represented as 2.447. The user is to provide the lowest possible value and the range of possible values. The names of the variables and the function are your choice. Execute the code from the spreadsheet.
3.10. (NUMERICAL METHODS) Write VBA code to generate a random number which, when rounded to 4 significant digits, is represented as 2.447. The user is to provide the lowest possible value and the range of possible values. The names of the variables and the function are your choice. Execute the code from the spreadsheet.
3.10. (NUMERICAL METHODS) Write VBA code to generate a random number which, when rounded to 4 significant digits, is represented as 2.447. The user is to provide the lowest possible value and the range of possible values. The names of the variables and the function are your choice. Execute the code from the spreadsheet.
Solution
Syntex-
Round(Expression,[Decimal Places])
Example-
Round(12.55, 1)
Result: 12.6 (rounds up
