Skip to content

Instantly share code, notes, and snippets.

View oyeharry's full-sized avatar
🎯
Focusing

Harminder (harry) oyeharry

🎯
Focusing
View GitHub Profile
@oyeharry
oyeharry / .vb
Created December 23, 2020 18:15
Spell Number function in Indian Currency
Option Explicit
'Main Function www.ExcelDataPro.com
Function SpellNumberEDP2(ByVal MyNumber, Optional MyCurrency As String = "")
Dim Dollars, Cents, Temp
Dim DecimalPlace, Count, x
ReDim Place(9) As String
Place(2) = " Thousand"
Place(3) = " Lacs"
Place(4) = " Crores"
Place(5) = " Hundred Crores"
<html>
<head>
<title>The New York Times</title>
</head>
<body>
<h1>HyperText Markup Language for the web</h1>
<p>A new markup language called HyperText Markup language(HTML) will be
used by the web browser to interpret the text and images into web pages.</p>
<!-- User comment form -->
//This is how we initialised component in the old days.
//jQuery plugin example
$('#myComponentElement').myAwesomeComponent({value:'Awesome'});
//ExtJS framework example
Ext.create('Ext.MyAwesomeComponent', {
id:'myComponent',
renderTo: document.querySelector('#myComponentElement'),
html:'Awesome'
//This is how we initialise component in the new days.
//Angular template
<my-awesome-component value="Awesome"/>
//React JSX. Require first capital charactor for custom React component
<My-awesome-component value="Awesome"/>
//Vue template
<my-awesome-component value="Awesome"/>
<html>
<head>
<title>The New York Times</title>
</head>
<body>
<h1>HyperText Markup Language for the web</h1>
<p>A new markup language called HyperText Markup language(HTML) will be
used by the web browser to interpret the text and images into web pages.</p>
</body>
</html>
// This is an example of how to fetch external data in response to updated props,
// If you are using an async mechanism that does not support cancellation (e.g. a Promise).
class ExampleComponent extends React.Component {
_currentId = null;
state = {
externalData: null
};