rose task-env: fix in integer mode

Fixes rose task-env so it works in integer mode.

@matthewrmshin - please review.