Convert Minutes to Hours format (hh:mm)

Dm114

Well-known member
This also goes via a script
I doesn't display any result: the variable is empty.

For my personal information: what is the benefit to write such simple routines in JavaScript as it will only take 2 or 3 lines with MD?
 

Winny57

Active member
It works for me without any problems.

The java script code greatly reduces the length of the macro and leaves it clean
 

Dm114

Well-known member
It works for me without any problems.

The java script code greatly reduces the length of the macro and leaves it clean
Sorry but, at least in this case, you can achieve the same result in MD with the same number of statements as it is a basic mathematical calculation.

I don't know why but I get no result: the return variable is empty...
 

Winny57

Active member
It would have been nice to have different JavaScript engines integrated into MacroDroid, but also to be able to update the versions. As a reminder:

### Latest Versions

- **Rhino**: The latest version is 1.7.15, released in May 2024.

- **QuickJS**: The latest version is from January 13, 2024.

- **Jetpack (Android)**: The most recent version is 1.0.0-beta01, released in November 2023.

- **JSEvaluator**: The latest version available is 6.0.0.

### Other engines are also available such as:

- **V8**: Used by Node.js and Google Chrome, V8 is a very powerful and well-documented JavaScript engine. It could use some adjustments, but it is widely supported and has a large community.

- **Duktape**: A lightweight and embeddable JavaScript engine, designed to be integrated into embedded applications. It is easy to integrate and offers good compatibility with ECMAScript.
 

AkashiDom

Active member
It would have been nice to have different JavaScript engines integrated into MacroDroid, but also to be able to update the versions. As a reminder:

### Latest Versions

- **Rhino**: The latest version is 1.7.15, released in May 2024.

- **QuickJS**: The latest version is from January 13, 2024.

- **Jetpack (Android)**: The most recent version is 1.0.0-beta01, released in November 2023.

- **JSEvaluator**: The latest version available is 6.0.0.

### Other engines are also available such as:

- **V8**: Used by Node.js and Google Chrome, V8 is a very powerful and well-documented JavaScript engine. It could use some adjustments, but it is widely supported and has a large community.

- **Duktape**: A lightweight and embeddable JavaScript engine, designed to be integrated into embedded applications. It is easy to integrate and offers good compatibility with ECMAScript.
Used to markdown my friend? Yea I wish MD Forum supports markdown either.

IMHO, the 4 should be enough
I can't find use for Rhino but JSEvaluator & QuickJS are already useful because;

JSEvaluator​

  • It useful for script that original use for HTML
  • It have more functions
  • It can create HTML(maybe)

QuickJS​

  • As the tin can says, Quick and lightweight
I wonder if these bad boys has cons.

I don't care about version, I more care about the functionality. Each engine have unique feature but I actually don't know what's unique for Rhino & JetPack.
 
Top