Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native transformations for basic arithmetic with numeric and dateTime #515

Closed
7 tasks done
Seddryck opened this issue Sep 8, 2019 · 1 comment
Closed
7 tasks done

Comments

@Seddryck
Copy link
Owner

Seddryck commented Sep 8, 2019

It should be possible to perform basic arithmetic with native transformations:

  • numeric-to-increment : add 1 to the current value
  • numeric-to-add(incr) : add incr to the current value
  • numeric-to-add(incr, times) : add incr to the current value several times. If times is zero, return current value.
  • numeric-to-multiply(factor) : multiply the current value by factor
  • numeric-to-invert : invert the current value (equivalent to 1/current value)
  • dateTime-to-add(ts) : add ts (a timeSpan) to the current value
  • dateTime-to-add(ts, times) : add ts (a timeSpan) to the current value several times. If times is zero, return current value.
@Seddryck Seddryck added this to the v1.21 milestone Sep 8, 2019
@Seddryck
Copy link
Owner Author

Seddryck commented Sep 8, 2019

Beta available at 1.21.0-beta0336 or at https://ci.appveyor.com/project/Seddryck/nbi/builds/27259640/artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant