Header menu logo FSharp.Finance.Personal

Formatting Module

convenience module for generating HTML tables, optimised for amortisation schedules

Functions and values

Function or value Description

formatHtmlTableHeader indexName names

Full Usage: formatHtmlTableHeader indexName names

Parameters:
    indexName : string voption
    names : string[]

Returns: string

creates a table header row from a record's fields

indexName : string voption
names : string[]
Returns: string

generateHtmlFromArray hideProperties items

Full Usage: generateHtmlFromArray hideProperties items

Parameters:
    hideProperties : string[]
    items : 'a array

Returns: string

generates a formatted HTML table from an array

hideProperties : string[]
items : 'a array
Returns: string

generateHtmlFromMap hideProperties data

Full Usage: generateHtmlFromMap hideProperties data

Parameters:
    hideProperties : string[]
    data : Map<'a, 'b>

Returns: string

generates a formatted HTML table from a map with the index name "Day"

hideProperties : string[]
data : Map<'a, 'b>
Returns: string

generateHtmlFromMap' hideProperties indexName data

Full Usage: generateHtmlFromMap' hideProperties indexName data

Parameters:
    hideProperties : string[]
    indexName : string
    data : Map<'a, 'b>

Returns: string

generates a formatted HTML table from a map

hideProperties : string[]
indexName : string
data : Map<'a, 'b>
Returns: string

outputArrayToHtml fileName append data

Full Usage: outputArrayToHtml fileName append data

Parameters:
    fileName : 'a
    append : bool
    data : 'b array

creates HTML files from an array

fileName : 'a
append : bool
data : 'b array

outputMapToHtml fileName append data

Full Usage: outputMapToHtml fileName append data

Parameters:
    fileName : 'a
    append : bool
    data : Map<'b, 'c>

creates HTML files from a map with the index name "Day"

fileName : 'a
append : bool
data : Map<'b, 'c>

outputMapToHtml' fileName append indexName data

Full Usage: outputMapToHtml' fileName append indexName data

Parameters:
    fileName : 'a
    append : bool
    indexName : string
    data : Map<'b, 'c>

creates HTML files from a map

fileName : 'a
append : bool
indexName : string
data : Map<'b, 'c>

outputToFile filePath append content

Full Usage: outputToFile filePath append content

Parameters:
    filePath : string
    append : bool
    content : string

writes some content to a specific file path, creating the containing directory if it does not exist

filePath : string
append : bool
content : string

outputToFile' fileName append content

Full Usage: outputToFile' fileName append content

Parameters:
    fileName : 'a
    append : bool
    content : string

writes content to a file in the application's IO directory

fileName : 'a
append : bool
content : string

Type something to start searching.