PxPlus User Forum

Twitter Twitter Twitter

Author Topic: conversion of ADJN(  (Read 1473 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

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
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.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

GordDavey

  • Member
  • **
  • Posts: 9
    • 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@Avexware.com>
President - Avexware Corp.
Tel: +1 (519) 835-4322