This tag indicates that the challenge involves converting from one format to another.

learn more… | top users | synonyms

8
votes
1answer
197 views

EBCDIC code golf (Happy birthday, System/360!)

Pretty soon it's going to be 50 years since IBM unveiled its System/360 family of computers. These were the first to use the EBCDIC character set. To mark the occasion, let's see who can write the ...
6
votes
5answers
192 views

Convert radicals to mixed & entire radicals and to real numbers

Challenge The goal of this challenge is to take a radical and convert it to a reduced and entire radical, and a real number. You do not have to convert it to all 3, however, you will get bonus points ...
3
votes
3answers
511 views

Convert CP437 to UTF-8

The goal is to read bytes from input encoded in Code Page 437 and output the same characters encoded as UTF-8. That is, bytes should be translated into Unicode codepoints per this table (a particular ...
1
vote
1answer
284 views

Convert Regexes

Suppose you have existing regexes you wish to compile using one of the submissions to Compile Regexes. In as few characters as possible, write a program that: accepts an existing regex as input, as ...
5
votes
9answers
572 views

Generate excel column name from index

This one comes from a real life problem. We solved it, of course, but it keeps feeling like it could have be done better, that it's too lengthy and roundabout solution. However none of my colleagues ...
-5
votes
7answers
295 views

Reversing base numbers

Where input is binary - output the decimal reversed equivalent and vice versa for decimal input: Sample Input: 00000001 00000010 255 00011000 Sample Output 1 2 1000101000 42 other Sample Input ...
2
votes
1answer
134 views

Check printer - Convert to English text from the input value.

Check printer function (or subroutine) - Convert to English text from the input value. 12.34 -> "twelve dollars and thirty four cents". For the range .01 to 9999.99 assuming valid input.
11
votes
30answers
945 views

IPv4 Integer Conversion Function

Write the shortest function to convert an IP address into it's integer representation and output it as an integer. To change an IPv4 address to it's integer representation, the following calculation ...