Question: Write a function in R language to convert a decimal (base 10) to binary number. Please extend the code we started in class to handle
Write a function in R language to convert a decimal (base 10) to binary number. Please extend the code we started in class to handle fractional numbers (e.g., 200.65). [NOTE: your code should truncate the precision of the fractional part of the number].
This is the code I wrote. But it could not run successfully. Could you help me with it?

rm(list-lsO) Dec2Binary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
