decimaltoscientific(x) function |

good afternoon, I’m using the decimaltoscientific(x) function. tell me what I’m doing wrong, it doesn’t return the data

var result = ”;
if( AND(fieldname40, fieldname3) ){
result = decimaltoscientific((fieldname40/fieldname33.5e4)); jQuery(‘.text-here’).html(‘Power ( P ), W’); } else if( AND(fieldname40, fieldname2) ){ result = fieldname40/fieldname2; jQuery(‘.text-here’).html(‘Time ( T ), s’); } else if( AND(fieldname3, fieldname2) ){ result = fieldname3fieldname2;
jQuery(‘.text-here’).html(‘Energy, ( W ) J’);

return result;



This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer