# Unable to parse decimal to integer

**URL:** <https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857>\
**Category:** Deployments\
**Tags:** 2.0, circle-yml\
**Created:** [January 21, 2021, 2:58pm UTC](https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857 "2021-01-21T14:58:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanchiv](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/vanchiv/32/26493_2.png) [@Vanchiv](https://discuss.circleci.com/u/Vanchiv)\
**Post date:** [January 21, 2021, 2:58pm UTC](https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857/1 "2021-01-21T14:58:04Z")

</div>

Hi Guys,

We are trying to create CI/CD pipeline for our MuleSoft projects and we found that CirrcleCI is not parsing decimal values.

We have one parameters where we need to specify the workers size and here is sample command that is failing.

mvn:deploy -Dworkers=0.1 -DworkerType=micro.

Gettimg error that unable to parse 0.1 to int.

Any suggestions here ?

---

<div class="post-metadata">

**Author:** ![punkdata](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/punkdata/32/25224_2.png) [@punkdata](https://discuss.circleci.com/u/punkdata)\
**Post date:** [January 21, 2021, 8:53pm UTC](https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857/2 "2021-01-21T20:53:20Z")

</div>

Hi @Vanchiv can you share your config to better understand you specific issue?

---

<div class="post-metadata">

**Author:** ![Vanchiv](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/vanchiv/32/26493_2.png) [@Vanchiv](https://discuss.circleci.com/u/Vanchiv)\
**Post date:** [January 22, 2021, 2:32am UTC](https://discuss.circleci.com/t/unable-to-parse-decimal-to-integer/38857/3 "2021-01-22T02:32:31Z")

</div>

@punkdata attached the error logs and the config.yml file.

Config.yml :

version:  
2.1

# Define the jobs we want to run for this project

jobs:  
build:  
docker:

- image: cimg/openjdk:15.0.1  
working\_directory: ~/repo  
environment:  
MAVEN\_OPTS: -Xmx3200m  
steps:
- checkout
- restore\_cache:  
keys:
- v1-dependencies-{{ checksum “pom.xml” }}
- v1-dependencies-
- run: mvn clean
- run: mvn test -s settings.xml
- run: mvn package -s settings.xml
- run: mvn install -s settings.xml
- run:  
case $CIRCLE\_BRANCH in  
‘main’) export environment=‘Sandbox’;;  
‘develop’) export environment=‘Sandbox’;;  
esac;  
echo $environment;  
mvn mule:deploy -Dworkers=0.1 -DworkerType=Micro -  
Denvironment=$environment -Dredeploy=true -DmuleVersion=4.3.0

Error log :

## [INFO] -------------------------------------------------------------------

[ERROR] Failed to execute goal org.mule.tools.maven:mule-mavenplugin:3.3.5:clean (default-clean) on project hello-mule: Unable to parse  
configuration of mojo org.mule.tools.maven:mule-maven-plugin:3.3.5:clean  
for parameter workers: Cannot convert ‘0.1’ to int: For input string: “.1”  
under radix 8 -\> [Help 1]
