bpipe
bpipe copied to clipboard
bpipe can not support division or divide function from groovy ?
Hi, I tried , def x = 26 def y = 10 def resultDiv = x.div(y) // or x / y but Bpipe can not support these codes from a groovy script !
Hi,
Can you say what you mean by it not supporting it? I made a script like this:
def x = 26
def y = 10
def resultDiv = x.div(y)
println "Result = $resultDiv"
Then I ran it:
$ bpipe run test.groovy
Result = 2.6
So I think it printed the correct result?
it's right, thank you