HiveLibrary
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © HTrade17

//@version=5

// @description : Custom library 
library("HiveLibrary")

// @function RoundDown() rounds the specified number down to the given number
// of decimal places.
// @param number is the argument for rounding down & decimals is the number of digits after dot
// @returns return is the rounded down value of the number
export RoundDown(float number, float decimals) =>
	factor=math.pow(10,decimals)
	math.floor(number*factor)/factor
	
