Follow

0

Star

0

Details

Version history

Issues

This application is not supported by InterSystems Corporation. Use it at your own risk.

Math library for InterSystems ObjectScript

Math library for InterSystems ObjectScript. This library contains functions that are both standard to ObjectScript as well as functions that are not. For example TODO.

Once this library is installed, functions can be called two ways:

```
Set value=##class(Math.Math).LeastCommonMultiple(134,382)
```

or

```
Set value=$$$LeastCommonMultiple(134,382)
```

For installation guidance, follow the steps below.

If you would like to contribute, please follow the listed guidelines.

To report a bug or request an enhancement, please use the Issues feature.

If ZPM is not installed, see ZPM Open Exchange App for instructions.

Once Installed, enter the "zpm" command to enter the zpm shell:

```
SAMPLES>zpm
zpm: SAMPLES>
```

Once inside zpm, run "install objectscript-math" to install the package:

```
zpm: SAMPLES>install objectscript-math
[objectscript-math] Reload START
[objectscript-math] Reload SUCCESS
[objectscript-math] Module object refreshed.
[objectscript-math] Validate START
[objectscript-math] Validate SUCCESS
[objectscript-math] Compile START
[objectscript-math] Compile SUCCESS
[objectscript-math] Activate START
[objectscript-math] Configure START
[objectscript-math] Configure SUCCESS
[objectscript-math] Activate SUCCESS
```

If ZPM is not installed and you do not plan on installing it, you can still quickly install this library.

If you plan on contributing, simply clone this Repository and load the files

If you would just like to use this library, please follow these steps:

- Navigate to the latest release
- Download the .xml file (ObjectScript-MathvX-X-X.xml) from the assets and copy the path to the file
- Run the following commands

```
Set path="COPIED PATH FROM STEP 2"
Do $system.OBJ.Load(path,"ck")
```

This will load Math.Math.cls, Math.Utils.cls, and Math.inc

Please see the Contributing Guide

There is no versions yet

ZPM installation

zpm "install objectscript-math"Category

Developer EnvironmentWorks with

CachéInterSystems IRISTags

Info

Author

Peter SteiwerVersion

0.0.4Last updated

2020-01-16Repository

OpenDocumentation

OpenLicense

Link