Contact | Privacy | Datenschutzerklärung | Impressum

Math Library

The Source Code file math.hei, located in the lib directory, is part of the package you receive when you download heitml.

We only have a few math function as of today (), but you are free to define the math functions you need. If you are using heitml on UNIX, you can even add built-in math functions through the userfun.c module.

Also, don't forget that there are already quite a number of heitml Built-in Numerical functions to serve your needs, so be sure to review that section of the Language Reference.

Example:

input:resulting output:
<? abs(42)>42
<? abs(-42)>42
<? abs(12-42)>30

Example:

input:resulting output:
<? sqr(5)>25
<? sqr(sqr(5))>625

Example:

input:resulting output:
<? cube(3)>27
<? cube(sqr(2))>64

Example:

input:resulting output:
<? power(2,16)>65536
<? power(cube(sqr(2)),4)>16777216

Example:

input:resulting output:
<? log10(-1) "Nn">null
<? log10(0) "Nn">null
<? log10(.001)>-3
<? log10(.1)>-1
<? log10(1)>0
<? log10(10)>1
<? log10(50)>1
<? log10(100)>2


This page was dynamically generated by the web application development tool RADpage of H.E.I. H.E.I. provides support, tools, and services like Webdesign in Mannheimm, the HTML/CSS 3D WebGL Animation Library taccgl, 3D Webdesign, and 3D Product Configurator (3D Produkt Konfigurator in German).

Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display.


© 1996-2022 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
  Language Ref.
  Component Ref.
  Class Library
  User Components
  Tutorial
  New Features
  heitml 1
    dba Tutorial
    dbq Tutorial
    dbs Tutorial
    The heitml Libraries
      Standard Layout
      Session Libraries
      The dba Library
      Query Forms
      Scroller
      Outline Library 1
      Email Form Library
      Counter Library
      HTML Extensions 1
      Date/Time Library 1
      Math Library 1
      String Library
    Demonstration
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum