---
layout: default
class: Macro
title: ncompare NUMBER NUMBER
summary: Compare two numbers by using the Double.compare method.
---

Compare two numbers using the Double.compare method. The result "0" means the two numbers are equal, "1" means the first number is greater than the second number, "-1" means the first number is less than the second number.

    ${ncompare;numberA;numberB}
