# Tag Archives: base-conversion (adsbygoogle = window.adsbygoogle || []).push({});

## Program for octal to decimal conversion

Given an octal number as input, we need to write a program to convert the given octal number into equivalent decimal number. Examples: Input :… Read More »

## Program for decimal to octal conversion

Given a decimal number as input, we need to write a program to convert the given decimal number into equivalent octal number. i.e convert the… Read More »

## Program for Decimal to Binary Conversion

Given a decimal number as input, we need to write a program to convert the given decimal number into equivalent binary number. Examples: Input :… Read More »

## Program for Binary To Decimal Conversion

Given a binary number as input, we need to write a program to convert the given binary number into equivalent decimal number. Examples : Input… Read More »

## Convert a binary number to octal

The problem is to convert the given binary number (represented as string) to its equivalent octal number. The input could be very large and may… Read More »

## Quickly convert Decimal to other bases in Python

Given a number in decimal number convert it into binary, octal and hexadecimal number. Here is function to convert decimal to binary, decimal to octal… Read More »

## Convert a binary number to hexadecimal number

The problem is to convert the given binary number to its equivalent hexadecimal number. The input could be very large and may not fit even… Read More »

## Number System and base conversions | Digital Electronics

Electronic and Digital systems may use a variety of different number systems, (e.g. Decimal, Hexadecimal, Octal, Binary). A number N in base or radix b… Read More »

## Type Conversion in Python

Python defines type conversion functions to directly convert one data type to another which is useful in day to day and competitive programming. This article… Read More »

## Convert a number into negative base representation

A number n and a negative base negBase is given to us, we need to represent n in that negative base. Negative base works similar… Read More »

## Converting Decimal Number lying between 1 to 3999 to Roman Numerals

Given a number, find its corresponding Roman numeral. Examples: Input : 9 Output : IX Input : 40 Output : XL Input : 1904 Output… Read More »

## Converting Roman Numerals to Decimal lying between 1 to 3999

Given a Romal numeral, find its corresponding decimal value. Example : Input : IX Output : 9 Input : XL Output : 40 Input :… Read More »

## Different ways for Integer to String Conversions In Java

Convert using Integer.toString(int) The Integer class has a static method that returns a String object representing the specified int parameter. Syntax : public static String… Read More »

## Convert from any base to decimal and vice versa

Given a number and its base, convert it to decimal. The base of number can be anything such that all digits can be represented using… Read More »

## What’s difference between 1’s Complement and 2’s Complement?

1’s complement of a binary number is another binary number obtained by toggling all bits in it, i.e., transforming the 0 bit to 1 and… Read More »