percent

What would be the Regular Expression to retrieve number in front of % symbol in string?

I'm using a math parser that uses % as the mod symbol. I'd like to use it for the percent symbol instead to allow users to type "25%*10" or "25% of 10" and receive the answer "2.5" (they could type anything). I'd then use the regex asked for to get the "25%" (could be in any part of the string) and do a simple calculation (25 / 100) an...

SSRS sum of row group for corresponding column

Group, I have a report that has row groups for customer MembershipLength (1 year account, 2 year account, etc.) then a sub group of rows for customer Status (active, inactive, etc.) Then I have columns for customer types. Ultimately I want to add a column that will calcualate the percentage of the subtoatl for the corresponding custome...

CSS Layout with Pixel And Percents

I have a div which contains two nested divs, one that specifies a height of 65 pixels (header), the other which specifies the height as 100% (content) and it is supposed to take the rest of the space veritically. When the page renders, there is a scrollbar on the right because of the height specified of 65 pixels of the header. What am ...

Reporting Services, Custom Percent Format

I have some fields I currently populate with a P0. The results is like this: 2,434% I want however something like this: 2434% How do I do this? ...

Iframe 100% height inside body with padding

I have an iframe in my HTML document and I'm having a bit of trouble. I also have a URL bar (fixed position element) at the top of the page that should stay with the user as they scroll. That works fine. I'd like the iframe to fill the remaining space but not be covered up by the URL bar. This is what I'm talking about. http://s75582.g...

How to find top n% of records in a column of a dataframe using R

Hi there, I have a dataset showing the exchange rate of the Australian Dollar versus the US dollar once a day over a period of about 20 years. I have the data in a data frame, with the first column being the date, and the second column being the exchange rate. Here's a sample from the data: >data V1 V2 1 12/12/19...

Firefox ignores percent height on image

I'm developing a Web site for a professor and I'm having an issue with my CSS in Firefox. The Web site was designed to be fluid width/height so it would fill the screen on any resolution, so because of that I'm using a lot of percentages for heights and widths. I've run into a problem with images however. http://projects.mediabounds.com...

MDX format_string for % doesn't multiply by 100 when % sign is at the front

For the following query: with member testVal as 0.1234 member testNormal as testVal member testPrepend as testVal, format_string="%##.00" member testMidpend as testVal, format_string="##%.00" member testAppend as testVal, format_string="##.00%" select { testNormal, testPrepend, testMidpend, testAppend} on axis (0) from [SomeRandomPlace...

Convert percent value to decimal value in PHP

Hello, How to convert percent value to decimal value in PHP to be used in a computation? Example: 6.15% = .0615 Thanks! ...

IE8 CSS width, can't use percents?

Anyone have any problems with this? px and em work fine, % does nothing. I just want to extend this div the length of the screen in IE8. Microsoft, please. Been looking for a while to now avail. CSS #topPane {width:100%; height:100px; background-color:#0C9;} HTML <div id="topPane">a</div> ...

XAML: How do I append a percent symbol to a bound label value?

I have a label bound to the value of a slider. Content="{Binding Path=Value, ElementName=Slider}" How do I append a percentage symbol? The value of the slider is already formatted correctly, so when the value is '50', all I need is '50%'. Edit 0: I know how to do it in code behind but I was hoping to accomplish this in xaml without...

Trouble Percent-Encoding Spaces in Java

Hi Everyone, I am using the URLUTF8Encoder.java class from W3C (www.w3.org/International/URLUTF8Encoder.java). Currently, it will encode any blank spaces ' ' into plus signs '+'. I am having difficulty modifying the code to percent-encode the blank space into '%20'. Unfortunately, I am not too familiar with hex. Can anyone help me out...

css width % in ie7

Hi I have a parent container which is 100%. It contains 2 floating divs which are width:50%. The children conintans only text. The problem is that the children on get as wide as the text, and not 50% of the width of the parent container. It is only ie7 that is a problem. Maybe also ie6, but I don't care about that browser. ball (width...