hashids.java icon indicating copy to clipboard operation
hashids.java copied to clipboard

Negative Long Number

Open mugglmenzel opened this issue 11 years ago • 0 comments

Hey,

I just figured out your script does not support negative numbers. Long, however, includes a full range of negative numbers. I see 2 options to solve the issue:

  1. Choose another datatype to restrict to positive numbers.
  2. Improve the code, e.g., by mapping long values to big positive numbers.

I will try to figure out the latter.

Cheers

mugglmenzel avatar Mar 17 '13 14:03 mugglmenzel