PxPlus User Forum

Twitter Twitter Twitter

Author Topic: conversion of ADJN(  (Read 1092 times)

Lawrence_Leavell

  • Silver Member
  • ***
  • Posts: 49
    • View Profile
conversion of ADJN(
« on: March 20, 2019, 01:13:47 PM »
I am in the process of re-hosting a Business Basic application which uses a function ADJN(.  This function converts a numeric value to an 8-character string. Is there any ProvidexPlus equivalent?

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3661
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: conversion of ADJN(
« Reply #1 on: March 27, 2019, 09:40:42 PM »
The closest similar function would be i3E which converts numeric data to iEEE floating point format.

GordDavey

  • Member
  • **
  • Posts: 8
    • View Profile
Re: conversion of ADJN(
« Reply #2 on: March 28, 2019, 11:05:10 AM »
Lawrence, BBx's docs say it returns an 8 byte binary string. Perhaps you can test: PRINT HTA(BIN(BIGNUMBER, 8)) and see if BIN gives you the same value when you use HTA to convert it to hex so you can see it ?
Gord Davey <gord.davey@daveycomputing.com>
President - Gord Davey Computing
Tel: +1 (519) 835-4322