Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Creating Calculations and Variable Functions

New Here ,
Jul 02, 2016 Jul 02, 2016

I am creating a calculator in captivate for a finance project and I am getting some rounding errors. Is there a way to get the calculations to round out to 4 decimal places?

339
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 02, 2016 Jul 02, 2016

In that case you need to combine the advanced actions with JavaScript. JS will allow to round results and to define the number of decimal places, Captivate cannot do that with advanced actions only.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 05, 2016 Jul 05, 2016

I'm new to this. Do you know of any tutorials on how to do this with JavaScript?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 05, 2016 Jul 05, 2016
LATEST

There are plenty of tutorials around about JavaScript. As for getting the results into Captivate, have a look at this Help documentation:

Common JS interface

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources