The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

how to convert macro value 1.0 to 1

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited March 2020 in Help
how to convert macro value 1.0 to 1
Tagged:

Best Answer

Answers

  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    I want to pass macro value 1 in generate Id operator but Currently I am getting macro value 1.0 
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,
    you can use Generate Macro to edit it.
    If you Extracted it from a data set, try Extract Macro (Format), which allows you to set the format for numerical values.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    First I am generated Id then  Use extract macro to store the last id using  statistics max value because next time I want to start sequence from the last Id and needed value without a decimal point to generate sequence using generate Id operator 
  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    Use parse number it's work for me
Sign In or Register to comment.