//+------------------------------------------------------------------+ //| Misce.mq5 | //| Copyright 2026, Niquel Mendoza | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026, Niquel Mendoza" #property link "https://www.mql5.com" #property version "1.00" #property strict //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ #include "..\\Src\\Base\\Main.mqh" #include "..\\Src\\Utils\\Main.mqh" //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- TSN::BigUInteger integer("1200", 10); uchar bytes[]; const int t = integer.ToBytesBE(bytes, 2); ArrayPrint(bytes); string out = ""; TSN::CNumberUtils::BytesToHexLower(bytes, t, out); Print(out); integer = TSN::BigUInteger(bytes, BIGUINTEGER_LOADBYTES_BE); Print(integer[0]); Print(integer.Gdc(540)); } //+------------------------------------------------------------------+ //+------------------------------------------------------------------+