translate-romawi-int
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

Translate Romawi Int

Install dengan perintah berikut

Install dengan cara berikut npm i translate-romawi-int atau npm install translate-romawi-int@latest

Gunakan function dengan cara

import React, { FunctionComponent } from "react";
import { IntToRoman, RomanToInt } from "translate-romawi-int";

interface IndexProps { }

const Index: FunctionComponent<IndexProps> = () => {
  const romawi = RomanToInt("XLIII")
  const num = IntToRoman(43)
  console.log(romawi, num);

   return (
    <div>
      <div>{romawi}</div>
      <div>{num}</div>
    </div>
   )
    
}
export default Index;

created by wahyu agus arifin - owner itpohgero.com

Package Sidebar

Install

npm i translate-romawi-int

Weekly Downloads

5

Version

1.0.9

License

ISC

Unpacked Size

16.3 kB

Total Files

22

Last publish

Collaborators

  • wahyuagusarifin