Given an fraction decimal number n, convert it to its equivalent binary number.

If it is an infinite binary fraction, keep it upto k precision point.

  • n=55.125
  • out='110111.001'

Solution Stats

16 Solutions

10 Solvers

Last Solution submitted on Jul 13, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers10

Suggested Problems

More from this Author174

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!