Skip to content

How to output numbers without decimal separators? #717

@victorhooi

Description

@victorhooi

I'm trying to use numbat to do some date/time manipulations, and outputting into Unix epoch time.

>>> now() + 2 weeks -> unixtime
  unixtime(now() + 2 week)
      = 1_745_988_722

However, numbat seems to default to using decimal separators ("_") - which obviously causes issues when I try to copy/paste the output.

Is there any way to get it to print out the integer output, without any decimal seperators?

I'm sure it's something basic I must have missed, but I can't seem to find it in the options or docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions