mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 00:36:16 -04:00
Updated dependencies
This commit is contained in:
parent
614af0602a
commit
1c711f5e03
9 changed files with 1722 additions and 256 deletions
|
@ -69,7 +69,7 @@ const BCD = {
|
|||
runToBCD: function(input, args) {
|
||||
if (input.isNaN())
|
||||
return "Invalid input";
|
||||
if (!input.floor().equals(input))
|
||||
if (!input.integerValue(BigNumber.ROUND_DOWN).isEqualTo(input))
|
||||
return "Fractional values are not supported by BCD";
|
||||
|
||||
const encoding = BCD.ENCODING_LOOKUP[args[0]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue