Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
var dec = '0123459';
|
||||
var hex_noprefix = 'abcf123';
|
||||
var hex_withprefix = '0xabcf123';
|
||||
var oct_noprefix = '7651';
|
||||
var oct_withprefix = '07651';
|
||||
var bin_noprefix = '101011001';
|
||||
var bin_withprefix = '0b101011001';
|
||||
|
||||
say dec.num; # => 123459
|
||||
say hex_noprefix.hex; # => 180154659
|
||||
say hex_withprefix.hex; # => 180154659
|
||||
say oct_noprefix.oct; # => 4009
|
||||
say oct_withprefix.oct; # => 4009
|
||||
say bin_noprefix.bin; # => 345
|
||||
say bin_withprefix.bin; # => 345
|
||||
Loading…
Add table
Add a link
Reference in a new issue