Sha256: 1db7ae22b472387781ad0091af8cc6f9f91f9b684c9b9ecd26e3b7c53b2c41c5

Contents?: true

Size: 922 Bytes

Versions: 71

Compression:

Stored size: 922 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "round_helper",
  "path": "packages/ree_number/package/ree_number/functions/round_helper.rb",
  "mount_as": "fn",
  "class": "ReeNumber::RoundHelper",
  "factory": null,
  "methods": [
    {
      "doc": "",
      "throws": [

      ],
      "return": "Or[Integer, BigDecimal]",
      "args": [
        {
          "arg": "number",
          "arg_type": "req",
          "type": "Or[Integer, Float, Rational, String]"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:precision? => Integer, :significant? => Bool, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "digit_count",
      "package_name": "ree_number",
      "as": "digit_count",
      "imports": [

      ]
    }
  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.103 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.102 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.101 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.100 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.99 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.98 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.97 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.96 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.95 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.94 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.93 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.92 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.91 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.90 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.89 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.88 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.87 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/round_helper.schema.json