Skip to content

Commit efc046c

Browse files
committed
Making an integer. Fixed #739.
1 parent d68ba1a commit efc046c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3321,7 +3321,7 @@ task greet_person {
33213321
printf "Hello ~{person.name.first}! You have ~{length(assay_array)} test result(s) available.\n"
33223322
33233323
if ~{defined(person.income)}; then
3324-
if [ "~{select_first([person.income]).amount}" -gt 1000 ]; then
3324+
if [ "$(printf "%.0f" ~{select_first([person.income]).amount})" -gt 1000 ]; then
33253325
currency="~{select_first([select_first([person.income]).currency, "USD"])}"
33263326
printf "Please transfer $currency 500 to continue"
33273327
fi

0 commit comments

Comments
 (0)