converting to base

Converts a decimal no into a equivalent binary or Hex.