18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Excel decimals

vickeekulkarnivickeekulkarni Members
edited November -1 in Sahi - Open Source
Hi All,

I am getting the input data changed while doing the data driven test in Sahi through Excel.

From the sheet I'm trying to upload the integer value like Mobile number. But in the application while uploading with appending .00 ti the input data. Eg.: If I'm uploading 9800986712 its uploading as 9800986712.00.

Please some ne help me to resolve this.

Thanks,
Vivek Kulkarni

Comments

  • narayannarayan Administrators
    Hi Vivek,

    You can use the parseInt function to strip decimals.

    Eg.
    parseInt(10.00) = 10

    Regards,
    Narayan

    PS: Please post a separate query if you do not find a related post or if the related post is very old.
  • Thanks Narayan its working now. Thanks for the help.
This discussion has been closed.